Interface IorwellVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by orwellParser.
Namespace: GCore.Antlr.Grammers.Orwell
Assembly: Orwell.dll
Syntax
public interface IorwellVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAssoc(orwellParser.AssocContext)
Visit a parse tree produced by assoc().
Declaration
Result VisitAssoc(orwellParser.AssocContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.AssocContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitComp(orwellParser.CompContext)
Visit a parse tree produced by comp().
Declaration
Result VisitComp(orwellParser.CompContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.CompContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCon(orwellParser.ConContext)
Visit a parse tree produced by con().
Declaration
Result VisitCon(orwellParser.ConContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.ConContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCondecl(orwellParser.CondeclContext)
Visit a parse tree produced by condecl().
Declaration
Result VisitCondecl(orwellParser.CondeclContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.CondeclContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConditional(orwellParser.ConditionalContext)
Visit a parse tree produced by conditional().
Declaration
Result VisitConditional(orwellParser.ConditionalContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.ConditionalContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConstruct(orwellParser.ConstructContext)
Visit a parse tree produced by construct().
Declaration
Result VisitConstruct(orwellParser.ConstructContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.ConstructContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDecl(orwellParser.DeclContext)
Visit a parse tree produced by decl().
Declaration
Result VisitDecl(orwellParser.DeclContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.DeclContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDef_(orwellParser.Def_Context)
Visit a parse tree produced by def_().
Declaration
Result VisitDef_(orwellParser.Def_Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Def_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFliteral(orwellParser.FliteralContext)
Visit a parse tree produced by fliteral().
Declaration
Result VisitFliteral(orwellParser.FliteralContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.FliteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIfpart(orwellParser.IfpartContext)
Visit a parse tree produced by ifpart().
Declaration
Result VisitIfpart(orwellParser.IfpartContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.IfpartContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInfix(orwellParser.InfixContext)
Visit a parse tree produced by infix().
Declaration
Result VisitInfix(orwellParser.InfixContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.InfixContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitList_(orwellParser.List_Context)
Visit a parse tree produced by list_().
Declaration
Result VisitList_(orwellParser.List_Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.List_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitListform(orwellParser.ListformContext)
Visit a parse tree produced by listform().
Declaration
Result VisitListform(orwellParser.ListformContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.ListformContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLiteral(orwellParser.LiteralContext)
Visit a parse tree produced by literal().
Declaration
Result VisitLiteral(orwellParser.LiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.LiteralContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitName(orwellParser.NameContext)
Visit a parse tree produced by name().
Declaration
Result VisitName(orwellParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.NameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOpdecl(orwellParser.OpdeclContext)
Visit a parse tree produced by opdecl().
Declaration
Result VisitOpdecl(orwellParser.OpdeclContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.OpdeclContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOpkind(orwellParser.OpkindContext)
Visit a parse tree produced by opkind().
Declaration
Result VisitOpkind(orwellParser.OpkindContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.OpkindContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOtherpart(orwellParser.OtherpartContext)
Visit a parse tree produced by otherpart().
Declaration
Result VisitOtherpart(orwellParser.OtherpartContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.OtherpartContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPat(orwellParser.PatContext)
Visit a parse tree produced by pat().
Declaration
Result VisitPat(orwellParser.PatContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PatContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPat1(orwellParser.Pat1Context)
Visit a parse tree produced by pat1().
Declaration
Result VisitPat1(orwellParser.Pat1Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Pat1Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPat2(orwellParser.Pat2Context)
Visit a parse tree produced by pat2().
Declaration
Result VisitPat2(orwellParser.Pat2Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Pat2Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPatlist(orwellParser.PatlistContext)
Visit a parse tree produced by patlist().
Declaration
Result VisitPatlist(orwellParser.PatlistContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PatlistContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPatprimary(orwellParser.PatprimaryContext)
Visit a parse tree produced by patprimary().
Declaration
Result VisitPatprimary(orwellParser.PatprimaryContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PatprimaryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPatprimaryname(orwellParser.PatprimarynameContext)
Visit a parse tree produced by patprimaryname().
Declaration
Result VisitPatprimaryname(orwellParser.PatprimarynameContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PatprimarynameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPatsection(orwellParser.PatsectionContext)
Visit a parse tree produced by patsection().
Declaration
Result VisitPatsection(orwellParser.PatsectionContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PatsectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPattuple(orwellParser.PattupleContext)
Visit a parse tree produced by pattuple().
Declaration
Result VisitPattuple(orwellParser.PattupleContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PattupleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPrefix(orwellParser.PrefixContext)
Visit a parse tree produced by prefix().
Declaration
Result VisitPrefix(orwellParser.PrefixContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PrefixContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPrimary(orwellParser.PrimaryContext)
Visit a parse tree produced by primary().
Declaration
Result VisitPrimary(orwellParser.PrimaryContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PrimaryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPrimaryname(orwellParser.PrimarynameContext)
Visit a parse tree produced by primaryname().
Declaration
Result VisitPrimaryname(orwellParser.PrimarynameContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.PrimarynameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProgram(orwellParser.ProgramContext)
Visit a parse tree produced by program().
Declaration
Result VisitProgram(orwellParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.ProgramContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQualifier(orwellParser.QualifierContext)
Visit a parse tree produced by qualifier().
Declaration
Result VisitQualifier(orwellParser.QualifierContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.QualifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRhs(orwellParser.RhsContext)
Visit a parse tree produced by rhs().
Declaration
Result VisitRhs(orwellParser.RhsContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.RhsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSection(orwellParser.SectionContext)
Visit a parse tree produced by section().
Declaration
Result VisitSection(orwellParser.SectionContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.SectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSyndecl(orwellParser.SyndeclContext)
Visit a parse tree produced by syndecl().
Declaration
Result VisitSyndecl(orwellParser.SyndeclContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.SyndeclContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm(orwellParser.TermContext)
Visit a parse tree produced by term().
Declaration
Result VisitTerm(orwellParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TermContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm1(orwellParser.Term1Context)
Visit a parse tree produced by term1().
Declaration
Result VisitTerm1(orwellParser.Term1Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Term1Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm2(orwellParser.Term2Context)
Visit a parse tree produced by term2().
Declaration
Result VisitTerm2(orwellParser.Term2Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Term2Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTuple_(orwellParser.Tuple_Context)
Visit a parse tree produced by tuple_().
Declaration
Result VisitTuple_(orwellParser.Tuple_Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Tuple_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTylhs(orwellParser.TylhsContext)
Visit a parse tree produced by tylhs().
Declaration
Result VisitTylhs(orwellParser.TylhsContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TylhsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTylhs1(orwellParser.Tylhs1Context)
Visit a parse tree produced by tylhs1().
Declaration
Result VisitTylhs1(orwellParser.Tylhs1Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Tylhs1Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTylhsprimary(orwellParser.TylhsprimaryContext)
Visit a parse tree produced by tylhsprimary().
Declaration
Result VisitTylhsprimary(orwellParser.TylhsprimaryContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TylhsprimaryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTylhssection(orwellParser.TylhssectionContext)
Visit a parse tree produced by tylhssection().
Declaration
Result VisitTylhssection(orwellParser.TylhssectionContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TylhssectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTylist(orwellParser.TylistContext)
Visit a parse tree produced by tylist().
Declaration
Result VisitTylist(orwellParser.TylistContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TylistContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTyname(orwellParser.TynameContext)
Visit a parse tree produced by tyname().
Declaration
Result VisitTyname(orwellParser.TynameContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TynameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitType_(orwellParser.Type_Context)
Visit a parse tree produced by type_().
Declaration
Result VisitType_(orwellParser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Type_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypedecl(orwellParser.TypedeclContext)
Visit a parse tree produced by typedecl().
Declaration
Result VisitTypedecl(orwellParser.TypedeclContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TypedeclContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTyprimary(orwellParser.TyprimaryContext)
Visit a parse tree produced by typrimary().
Declaration
Result VisitTyprimary(orwellParser.TyprimaryContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TyprimaryContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTyprimaryname(orwellParser.TyprimarynameContext)
Visit a parse tree produced by typrimaryname().
Declaration
Result VisitTyprimaryname(orwellParser.TyprimarynameContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TyprimarynameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTysection(orwellParser.TysectionContext)
Visit a parse tree produced by tysection().
Declaration
Result VisitTysection(orwellParser.TysectionContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TysectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTyterm1(orwellParser.Tyterm1Context)
Visit a parse tree produced by tyterm1().
Declaration
Result VisitTyterm1(orwellParser.Tyterm1Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Tyterm1Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTyterm2(orwellParser.Tyterm2Context)
Visit a parse tree produced by tyterm2().
Declaration
Result VisitTyterm2(orwellParser.Tyterm2Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Tyterm2Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTytuple(orwellParser.TytupleContext)
Visit a parse tree produced by tytuple().
Declaration
Result VisitTytuple(orwellParser.TytupleContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TytupleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTyvar(orwellParser.TyvarContext)
Visit a parse tree produced by tyvar().
Declaration
Result VisitTyvar(orwellParser.TyvarContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.TyvarContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUpto(orwellParser.UptoContext)
Visit a parse tree produced by upto().
Declaration
Result VisitUpto(orwellParser.UptoContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.UptoContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVar_(orwellParser.Var_Context)
Visit a parse tree produced by var_().
Declaration
Result VisitVar_(orwellParser.Var_Context context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.Var_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWherepart(orwellParser.WherepartContext)
Visit a parse tree produced by wherepart().
Declaration
Result VisitWherepart(orwellParser.WherepartContext context)
Parameters
Type | Name | Description |
---|---|---|
orwellParser.WherepartContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |