Interface ICLIFVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by CLIFParser.
Namespace: GCore.Antlr.Grammers.Clif
Assembly: Clif.dll
Syntax
public interface ICLIFVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAtom(CLIFParser.AtomContext)
Visit a parse tree produced by atom().
Declaration
Result VisitAtom(CLIFParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.AtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAtomsent(CLIFParser.AtomsentContext)
Visit a parse tree produced by atomsent().
Declaration
Result VisitAtomsent(CLIFParser.AtomsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.AtomsentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBoolsent(CLIFParser.BoolsentContext)
Visit a parse tree produced by boolsent().
Declaration
Result VisitBoolsent(CLIFParser.BoolsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.BoolsentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBoundlist(CLIFParser.BoundlistContext)
Visit a parse tree produced by boundlist().
Declaration
Result VisitBoundlist(CLIFParser.BoundlistContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.BoundlistContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCltext(CLIFParser.CltextContext)
Visit a parse tree produced by cltext().
Declaration
Result VisitCltext(CLIFParser.CltextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.CltextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommentsent(CLIFParser.CommentsentContext)
Visit a parse tree produced by commentsent().
Declaration
Result VisitCommentsent(CLIFParser.CommentsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.CommentsentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEquation(CLIFParser.EquationContext)
Visit a parse tree produced by equation().
Declaration
Result VisitEquation(CLIFParser.EquationContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.EquationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInterpretablename(CLIFParser.InterpretablenameContext)
Visit a parse tree produced by interpretablename().
Declaration
Result VisitInterpretablename(CLIFParser.InterpretablenameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.InterpretablenameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInterpretedname(CLIFParser.InterpretednameContext)
Visit a parse tree produced by interpretedname().
Declaration
Result VisitInterpretedname(CLIFParser.InterpretednameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.InterpretednameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitModule(CLIFParser.ModuleContext)
Visit a parse tree produced by module().
Declaration
Result VisitModule(CLIFParser.ModuleContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.ModuleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitName(CLIFParser.NameContext)
Visit a parse tree produced by name().
Declaration
Result VisitName(CLIFParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.NameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNamedtext(CLIFParser.NamedtextContext)
Visit a parse tree produced by namedtext().
Declaration
Result VisitNamedtext(CLIFParser.NamedtextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.NamedtextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOperator_(CLIFParser.Operator_Context)
Visit a parse tree produced by operator_().
Declaration
Result VisitOperator_(CLIFParser.Operator_Context context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.Operator_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPhrase(CLIFParser.PhraseContext)
Visit a parse tree produced by phrase().
Declaration
Result VisitPhrase(CLIFParser.PhraseContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.PhraseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPredicate(CLIFParser.PredicateContext)
Visit a parse tree produced by predicate().
Declaration
Result VisitPredicate(CLIFParser.PredicateContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.PredicateContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQuantsent(CLIFParser.QuantsentContext)
Visit a parse tree produced by quantsent().
Declaration
Result VisitQuantsent(CLIFParser.QuantsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.QuantsentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSentence(CLIFParser.SentenceContext)
Visit a parse tree produced by sentence().
Declaration
Result VisitSentence(CLIFParser.SentenceContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.SentenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm(CLIFParser.TermContext)
Visit a parse tree produced by term().
Declaration
Result VisitTerm(CLIFParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TermContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTermseq(CLIFParser.TermseqContext)
Visit a parse tree produced by termseq().
Declaration
Result VisitTermseq(CLIFParser.TermseqContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TermseqContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitText(CLIFParser.TextContext)
Visit a parse tree produced by text().
Declaration
Result VisitText(CLIFParser.TextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TextContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |