Show / Hide Table of Contents

Class orwellBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAssoc(orwellParser.AssocContext)

Visit a parse tree produced by assoc().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssoc(orwellParser.AssocContext context)
Parameters
Type Name Description
orwellParser.AssocContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitComp(orwellParser.CompContext)

Visit a parse tree produced by comp().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitComp(orwellParser.CompContext context)
Parameters
Type Name Description
orwellParser.CompContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCon(orwellParser.ConContext)

Visit a parse tree produced by con().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCon(orwellParser.ConContext context)
Parameters
Type Name Description
orwellParser.ConContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCondecl(orwellParser.CondeclContext)

Visit a parse tree produced by condecl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCondecl(orwellParser.CondeclContext context)
Parameters
Type Name Description
orwellParser.CondeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitConditional(orwellParser.ConditionalContext)

Visit a parse tree produced by conditional().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitConditional(orwellParser.ConditionalContext context)
Parameters
Type Name Description
orwellParser.ConditionalContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitConstruct(orwellParser.ConstructContext)

Visit a parse tree produced by construct().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitConstruct(orwellParser.ConstructContext context)
Parameters
Type Name Description
orwellParser.ConstructContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDecl(orwellParser.DeclContext)

Visit a parse tree produced by decl().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDef_(orwellParser.Def_Context)

Visit a parse tree produced by def_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDef_(orwellParser.Def_Context context)
Parameters
Type Name Description
orwellParser.Def_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFliteral(orwellParser.FliteralContext)

Visit a parse tree produced by fliteral().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFliteral(orwellParser.FliteralContext context)
Parameters
Type Name Description
orwellParser.FliteralContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIfpart(orwellParser.IfpartContext)

Visit a parse tree produced by ifpart().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIfpart(orwellParser.IfpartContext context)
Parameters
Type Name Description
orwellParser.IfpartContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInfix(orwellParser.InfixContext)

Visit a parse tree produced by infix().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInfix(orwellParser.InfixContext context)
Parameters
Type Name Description
orwellParser.InfixContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitList_(orwellParser.List_Context)

Visit a parse tree produced by list_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitList_(orwellParser.List_Context context)
Parameters
Type Name Description
orwellParser.List_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitListform(orwellParser.ListformContext)

Visit a parse tree produced by listform().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitListform(orwellParser.ListformContext context)
Parameters
Type Name Description
orwellParser.ListformContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLiteral(orwellParser.LiteralContext)

Visit a parse tree produced by literal().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLiteral(orwellParser.LiteralContext context)
Parameters
Type Name Description
orwellParser.LiteralContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitName(orwellParser.NameContext)

Visit a parse tree produced by name().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOpdecl(orwellParser.OpdeclContext)

Visit a parse tree produced by opdecl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOpdecl(orwellParser.OpdeclContext context)
Parameters
Type Name Description
orwellParser.OpdeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOpkind(orwellParser.OpkindContext)

Visit a parse tree produced by opkind().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOpkind(orwellParser.OpkindContext context)
Parameters
Type Name Description
orwellParser.OpkindContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOtherpart(orwellParser.OtherpartContext)

Visit a parse tree produced by otherpart().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOtherpart(orwellParser.OtherpartContext context)
Parameters
Type Name Description
orwellParser.OtherpartContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPat(orwellParser.PatContext)

Visit a parse tree produced by pat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPat(orwellParser.PatContext context)
Parameters
Type Name Description
orwellParser.PatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPat1(orwellParser.Pat1Context)

Visit a parse tree produced by pat1().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPat1(orwellParser.Pat1Context context)
Parameters
Type Name Description
orwellParser.Pat1Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPat2(orwellParser.Pat2Context)

Visit a parse tree produced by pat2().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPat2(orwellParser.Pat2Context context)
Parameters
Type Name Description
orwellParser.Pat2Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPatlist(orwellParser.PatlistContext)

Visit a parse tree produced by patlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPatlist(orwellParser.PatlistContext context)
Parameters
Type Name Description
orwellParser.PatlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPatprimary(orwellParser.PatprimaryContext)

Visit a parse tree produced by patprimary().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPatprimary(orwellParser.PatprimaryContext context)
Parameters
Type Name Description
orwellParser.PatprimaryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPatprimaryname(orwellParser.PatprimarynameContext)

Visit a parse tree produced by patprimaryname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPatprimaryname(orwellParser.PatprimarynameContext context)
Parameters
Type Name Description
orwellParser.PatprimarynameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPatsection(orwellParser.PatsectionContext)

Visit a parse tree produced by patsection().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPatsection(orwellParser.PatsectionContext context)
Parameters
Type Name Description
orwellParser.PatsectionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPattuple(orwellParser.PattupleContext)

Visit a parse tree produced by pattuple().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPattuple(orwellParser.PattupleContext context)
Parameters
Type Name Description
orwellParser.PattupleContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPrefix(orwellParser.PrefixContext)

Visit a parse tree produced by prefix().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPrefix(orwellParser.PrefixContext context)
Parameters
Type Name Description
orwellParser.PrefixContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPrimary(orwellParser.PrimaryContext)

Visit a parse tree produced by primary().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPrimary(orwellParser.PrimaryContext context)
Parameters
Type Name Description
orwellParser.PrimaryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPrimaryname(orwellParser.PrimarynameContext)

Visit a parse tree produced by primaryname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPrimaryname(orwellParser.PrimarynameContext context)
Parameters
Type Name Description
orwellParser.PrimarynameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProgram(orwellParser.ProgramContext)

Visit a parse tree produced by program().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitQualifier(orwellParser.QualifierContext)

Visit a parse tree produced by qualifier().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitQualifier(orwellParser.QualifierContext context)
Parameters
Type Name Description
orwellParser.QualifierContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRhs(orwellParser.RhsContext)

Visit a parse tree produced by rhs().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRhs(orwellParser.RhsContext context)
Parameters
Type Name Description
orwellParser.RhsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSection(orwellParser.SectionContext)

Visit a parse tree produced by section().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSection(orwellParser.SectionContext context)
Parameters
Type Name Description
orwellParser.SectionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSyndecl(orwellParser.SyndeclContext)

Visit a parse tree produced by syndecl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSyndecl(orwellParser.SyndeclContext context)
Parameters
Type Name Description
orwellParser.SyndeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTerm(orwellParser.TermContext)

Visit a parse tree produced by term().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTerm(orwellParser.TermContext context)
Parameters
Type Name Description
orwellParser.TermContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTerm1(orwellParser.Term1Context)

Visit a parse tree produced by term1().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTerm1(orwellParser.Term1Context context)
Parameters
Type Name Description
orwellParser.Term1Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTerm2(orwellParser.Term2Context)

Visit a parse tree produced by term2().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTerm2(orwellParser.Term2Context context)
Parameters
Type Name Description
orwellParser.Term2Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTuple_(orwellParser.Tuple_Context)

Visit a parse tree produced by tuple_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTuple_(orwellParser.Tuple_Context context)
Parameters
Type Name Description
orwellParser.Tuple_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTylhs(orwellParser.TylhsContext)

Visit a parse tree produced by tylhs().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTylhs(orwellParser.TylhsContext context)
Parameters
Type Name Description
orwellParser.TylhsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTylhs1(orwellParser.Tylhs1Context)

Visit a parse tree produced by tylhs1().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTylhs1(orwellParser.Tylhs1Context context)
Parameters
Type Name Description
orwellParser.Tylhs1Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTylhsprimary(orwellParser.TylhsprimaryContext)

Visit a parse tree produced by tylhsprimary().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTylhsprimary(orwellParser.TylhsprimaryContext context)
Parameters
Type Name Description
orwellParser.TylhsprimaryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTylhssection(orwellParser.TylhssectionContext)

Visit a parse tree produced by tylhssection().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTylhssection(orwellParser.TylhssectionContext context)
Parameters
Type Name Description
orwellParser.TylhssectionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTylist(orwellParser.TylistContext)

Visit a parse tree produced by tylist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTylist(orwellParser.TylistContext context)
Parameters
Type Name Description
orwellParser.TylistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTyname(orwellParser.TynameContext)

Visit a parse tree produced by tyname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTyname(orwellParser.TynameContext context)
Parameters
Type Name Description
orwellParser.TynameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitType_(orwellParser.Type_Context)

Visit a parse tree produced by type_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitType_(orwellParser.Type_Context context)
Parameters
Type Name Description
orwellParser.Type_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypedecl(orwellParser.TypedeclContext)

Visit a parse tree produced by typedecl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypedecl(orwellParser.TypedeclContext context)
Parameters
Type Name Description
orwellParser.TypedeclContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTyprimary(orwellParser.TyprimaryContext)

Visit a parse tree produced by typrimary().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTyprimary(orwellParser.TyprimaryContext context)
Parameters
Type Name Description
orwellParser.TyprimaryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTyprimaryname(orwellParser.TyprimarynameContext)

Visit a parse tree produced by typrimaryname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTyprimaryname(orwellParser.TyprimarynameContext context)
Parameters
Type Name Description
orwellParser.TyprimarynameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTysection(orwellParser.TysectionContext)

Visit a parse tree produced by tysection().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTysection(orwellParser.TysectionContext context)
Parameters
Type Name Description
orwellParser.TysectionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTyterm1(orwellParser.Tyterm1Context)

Visit a parse tree produced by tyterm1().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTyterm1(orwellParser.Tyterm1Context context)
Parameters
Type Name Description
orwellParser.Tyterm1Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTyterm2(orwellParser.Tyterm2Context)

Visit a parse tree produced by tyterm2().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTyterm2(orwellParser.Tyterm2Context context)
Parameters
Type Name Description
orwellParser.Tyterm2Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTytuple(orwellParser.TytupleContext)

Visit a parse tree produced by tytuple().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTytuple(orwellParser.TytupleContext context)
Parameters
Type Name Description
orwellParser.TytupleContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTyvar(orwellParser.TyvarContext)

Visit a parse tree produced by tyvar().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTyvar(orwellParser.TyvarContext context)
Parameters
Type Name Description
orwellParser.TyvarContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitUpto(orwellParser.UptoContext)

Visit a parse tree produced by upto().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitUpto(orwellParser.UptoContext context)
Parameters
Type Name Description
orwellParser.UptoContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVar_(orwellParser.Var_Context)

Visit a parse tree produced by var_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVar_(orwellParser.Var_Context context)
Parameters
Type Name Description
orwellParser.Var_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWherepart(orwellParser.WherepartContext)

Visit a parse tree produced by wherepart().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWherepart(orwellParser.WherepartContext context)
Parameters
Type Name Description
orwellParser.WherepartContext context

The parse tree.

Returns
Type Description
Result

Implements

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