Show / Hide Table of Contents

Class alefBaseVisitor<Result>

This class provides an empty implementation of IalefVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
alefBaseVisitor<Result>
Implements
IalefVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Alef
Assembly: Alef.dll
Syntax
public class alefBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IalefVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAdtfunc(alefParser.AdtfuncContext)

Visit a parse tree produced by adtfunc().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAdtfunc(alefParser.AdtfuncContext context)
Parameters
Type Name Description
alefParser.AdtfuncContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArg(alefParser.ArgContext)

Visit a parse tree produced by arg().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArg(alefParser.ArgContext context)
Parameters
Type Name Description
alefParser.ArgContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArglist(alefParser.ArglistContext)

Visit a parse tree produced by arglist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArglist(alefParser.ArglistContext context)
Parameters
Type Name Description
alefParser.ArglistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArglistp(alefParser.ArglistpContext)

Visit a parse tree produced by arglistp().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArglistp(alefParser.ArglistpContext context)
Parameters
Type Name Description
alefParser.ArglistpContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitArrayspec(alefParser.ArrayspecContext)

Visit a parse tree produced by arrayspec().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArrayspec(alefParser.ArrayspecContext context)
Parameters
Type Name Description
alefParser.ArrayspecContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAutodecl(alefParser.AutodeclContext)

Visit a parse tree produced by autodecl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAutodecl(alefParser.AutodeclContext context)
Parameters
Type Name Description
alefParser.AutodeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAutolist(alefParser.AutolistContext)

Visit a parse tree produced by autolist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAutolist(alefParser.AutolistContext context)
Parameters
Type Name Description
alefParser.AutolistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBlock(alefParser.BlockContext)

Visit a parse tree produced by block().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBlock(alefParser.BlockContext context)
Parameters
Type Name Description
alefParser.BlockContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBufdim(alefParser.BufdimContext)

Visit a parse tree produced by bufdim().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBufdim(alefParser.BufdimContext context)
Parameters
Type Name Description
alefParser.BufdimContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCase_(alefParser.Case_Context)

Visit a parse tree produced by case_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCase_(alefParser.Case_Context context)
Parameters
Type Name Description
alefParser.Case_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCastexpr(alefParser.CastexprContext)

Visit a parse tree produced by castexpr().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCastexpr(alefParser.CastexprContext context)
Parameters
Type Name Description
alefParser.CastexprContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCbody(alefParser.CbodyContext)

Visit a parse tree produced by cbody().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCbody(alefParser.CbodyContext context)
Parameters
Type Name Description
alefParser.CbodyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitClist(alefParser.ClistContext)

Visit a parse tree produced by clist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitClist(alefParser.ClistContext context)
Parameters
Type Name Description
alefParser.ClistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCtlist(alefParser.CtlistContext)

Visit a parse tree produced by ctlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCtlist(alefParser.CtlistContext context)
Parameters
Type Name Description
alefParser.CtlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDecl(alefParser.DeclContext)

Visit a parse tree produced by decl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDecl(alefParser.DeclContext context)
Parameters
Type Name Description
alefParser.DeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDecllist(alefParser.DecllistContext)

Visit a parse tree produced by decllist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDecllist(alefParser.DecllistContext context)
Parameters
Type Name Description
alefParser.DecllistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitElist(alefParser.ElistContext)

Visit a parse tree produced by elist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitElist(alefParser.ElistContext context)
Parameters
Type Name Description
alefParser.ElistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEnum_member(alefParser.Enum_memberContext)

Visit a parse tree produced by enum_member().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEnum_member(alefParser.Enum_memberContext context)
Parameters
Type Name Description
alefParser.Enum_memberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpr_(alefParser.Expr_Context)

Visit a parse tree produced by expr_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExpr_(alefParser.Expr_Context context)
Parameters
Type Name Description
alefParser.Expr_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIndsp(alefParser.IndspContext)

Visit a parse tree produced by indsp().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIndsp(alefParser.IndspContext context)
Parameters
Type Name Description
alefParser.IndspContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInfo(alefParser.InfoContext)

Visit a parse tree produced by info().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInfo(alefParser.InfoContext context)
Parameters
Type Name Description
alefParser.InfoContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIvardecl(alefParser.IvardeclContext)

Visit a parse tree produced by ivardecl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIvardecl(alefParser.IvardeclContext context)
Parameters
Type Name Description
alefParser.IvardeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMemberlist(alefParser.MemberlistContext)

Visit a parse tree produced by memberlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMemberlist(alefParser.MemberlistContext context)
Parameters
Type Name Description
alefParser.MemberlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMonexpr(alefParser.MonexprContext)

Visit a parse tree produced by monexpr().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMonexpr(alefParser.MonexprContext context)
Parameters
Type Name Description
alefParser.MonexprContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitName(alefParser.NameContext)

Visit a parse tree produced by name().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitName(alefParser.NameContext context)
Parameters
Type Name Description
alefParser.NameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNlstmnt(alefParser.NlstmntContext)

Visit a parse tree produced by nlstmnt().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNlstmnt(alefParser.NlstmntContext context)
Parameters
Type Name Description
alefParser.NlstmntContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPolytype(alefParser.PolytypeContext)

Visit a parse tree produced by polytype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPolytype(alefParser.PolytypeContext context)
Parameters
Type Name Description
alefParser.PolytypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProgram(alefParser.ProgramContext)

Visit a parse tree produced by program().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitProgram(alefParser.ProgramContext context)
Parameters
Type Name Description
alefParser.ProgramContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRbody(alefParser.RbodyContext)

Visit a parse tree produced by rbody().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRbody(alefParser.RbodyContext context)
Parameters
Type Name Description
alefParser.RbodyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSclass(alefParser.SclassContext)

Visit a parse tree produced by sclass().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSclass(alefParser.SclassContext context)
Parameters
Type Name Description
alefParser.SclassContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSetlist(alefParser.SetlistContext)

Visit a parse tree produced by setlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSetlist(alefParser.SetlistContext context)
Parameters
Type Name Description
alefParser.SetlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSlist(alefParser.SlistContext)

Visit a parse tree produced by slist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSlist(alefParser.SlistContext context)
Parameters
Type Name Description
alefParser.SlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSname(alefParser.SnameContext)

Visit a parse tree produced by sname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSname(alefParser.SnameContext context)
Parameters
Type Name Description
alefParser.SnameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStag(alefParser.StagContext)

Visit a parse tree produced by stag().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStag(alefParser.StagContext context)
Parameters
Type Name Description
alefParser.StagContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStmnt(alefParser.StmntContext)

Visit a parse tree produced by stmnt().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStmnt(alefParser.StmntContext context)
Parameters
Type Name Description
alefParser.StmntContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTbody(alefParser.TbodyContext)

Visit a parse tree produced by tbody().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTbody(alefParser.TbodyContext context)
Parameters
Type Name Description
alefParser.TbodyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTcase(alefParser.TcaseContext)

Visit a parse tree produced by tcase().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTcase(alefParser.TcaseContext context)
Parameters
Type Name Description
alefParser.TcaseContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTcomp(alefParser.TcompContext)

Visit a parse tree produced by tcomp().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTcomp(alefParser.TcompContext context)
Parameters
Type Name Description
alefParser.TcompContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTelist(alefParser.TelistContext)

Visit a parse tree produced by telist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTelist(alefParser.TelistContext context)
Parameters
Type Name Description
alefParser.TelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTerm_(alefParser.Term_Context)

Visit a parse tree produced by term_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTerm_(alefParser.Term_Context context)
Parameters
Type Name Description
alefParser.Term_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTlist(alefParser.TlistContext)

Visit a parse tree produced by tlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTlist(alefParser.TlistContext context)
Parameters
Type Name Description
alefParser.TlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTname(alefParser.TnameContext)

Visit a parse tree produced by tname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTname(alefParser.TnameContext context)
Parameters
Type Name Description
alefParser.TnameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTuplearg(alefParser.TupleargContext)

Visit a parse tree produced by tuplearg().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTuplearg(alefParser.TupleargContext context)
Parameters
Type Name Description
alefParser.TupleargContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypecast(alefParser.TypecastContext)

Visit a parse tree produced by typecast().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypecast(alefParser.TypecastContext context)
Parameters
Type Name Description
alefParser.TypecastContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypename(alefParser.TypenameContext)

Visit a parse tree produced by typename().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypename(alefParser.TypenameContext context)
Parameters
Type Name Description
alefParser.TypenameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypespec(alefParser.TypespecContext)

Visit a parse tree produced by typespec().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypespec(alefParser.TypespecContext context)
Parameters
Type Name Description
alefParser.TypespecContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVardecl(alefParser.VardeclContext)

Visit a parse tree produced by vardecl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVardecl(alefParser.VardeclContext context)
Parameters
Type Name Description
alefParser.VardeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVardecllist(alefParser.VardecllistContext)

Visit a parse tree produced by vardecllist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVardecllist(alefParser.VardecllistContext context)
Parameters
Type Name Description
alefParser.VardecllistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariant(alefParser.VariantContext)

Visit a parse tree produced by variant().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVariant(alefParser.VariantContext context)
Parameters
Type Name Description
alefParser.VariantContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitXtname(alefParser.XtnameContext)

Visit a parse tree produced by xtname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitXtname(alefParser.XtnameContext context)
Parameters
Type Name Description
alefParser.XtnameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZargs(alefParser.ZargsContext)

Visit a parse tree produced by zargs().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZargs(alefParser.ZargsContext context)
Parameters
Type Name Description
alefParser.ZargsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZarlist(alefParser.ZarlistContext)

Visit a parse tree produced by zarlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZarlist(alefParser.ZarlistContext context)
Parameters
Type Name Description
alefParser.ZarlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZconst(alefParser.ZconstContext)

Visit a parse tree produced by zconst().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZconst(alefParser.ZconstContext context)
Parameters
Type Name Description
alefParser.ZconstContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZelist(alefParser.ZelistContext)

Visit a parse tree produced by zelist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZelist(alefParser.ZelistContext context)
Parameters
Type Name Description
alefParser.ZelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZexpr(alefParser.ZexprContext)

Visit a parse tree produced by zexpr().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZexpr(alefParser.ZexprContext context)
Parameters
Type Name Description
alefParser.ZexprContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZinit(alefParser.ZinitContext)

Visit a parse tree produced by zinit().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZinit(alefParser.ZinitContext context)
Parameters
Type Name Description
alefParser.ZinitContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZlab(alefParser.ZlabContext)

Visit a parse tree produced by zlab().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZlab(alefParser.ZlabContext context)
Parameters
Type Name Description
alefParser.ZlabContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZpolytype(alefParser.ZpolytypeContext)

Visit a parse tree produced by zpolytype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZpolytype(alefParser.ZpolytypeContext context)
Parameters
Type Name Description
alefParser.ZpolytypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZtag(alefParser.ZtagContext)

Visit a parse tree produced by ztag().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZtag(alefParser.ZtagContext context)
Parameters
Type Name Description
alefParser.ZtagContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZtelist(alefParser.ZtelistContext)

Visit a parse tree produced by ztelist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZtelist(alefParser.ZtelistContext context)
Parameters
Type Name Description
alefParser.ZtelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitZtname(alefParser.ZtnameContext)

Visit a parse tree produced by ztname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitZtname(alefParser.ZtnameContext context)
Parameters
Type Name Description
alefParser.ZtnameContext context

The parse tree.

Returns
Type Description
Result

Implements

IalefVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX