Class CLIFBaseListener
This class provides an empty implementation of ICLIFListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Clif
Assembly: Clif.dll
Syntax
public class CLIFBaseListener : object, ICLIFListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAtom(CLIFParser.AtomContext)
Enter a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void EnterAtom(CLIFParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.AtomContext | context | The parse tree. |
EnterAtomsent(CLIFParser.AtomsentContext)
Enter a parse tree produced by atomsent().
The default implementation does nothing.
Declaration
public virtual void EnterAtomsent(CLIFParser.AtomsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.AtomsentContext | context | The parse tree. |
EnterBoolsent(CLIFParser.BoolsentContext)
Enter a parse tree produced by boolsent().
The default implementation does nothing.
Declaration
public virtual void EnterBoolsent(CLIFParser.BoolsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.BoolsentContext | context | The parse tree. |
EnterBoundlist(CLIFParser.BoundlistContext)
Enter a parse tree produced by boundlist().
The default implementation does nothing.
Declaration
public virtual void EnterBoundlist(CLIFParser.BoundlistContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.BoundlistContext | context | The parse tree. |
EnterCltext(CLIFParser.CltextContext)
Enter a parse tree produced by cltext().
The default implementation does nothing.
Declaration
public virtual void EnterCltext(CLIFParser.CltextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.CltextContext | context | The parse tree. |
EnterCommentsent(CLIFParser.CommentsentContext)
Enter a parse tree produced by commentsent().
The default implementation does nothing.
Declaration
public virtual void EnterCommentsent(CLIFParser.CommentsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.CommentsentContext | context | The parse tree. |
EnterEquation(CLIFParser.EquationContext)
Enter a parse tree produced by equation().
The default implementation does nothing.
Declaration
public virtual void EnterEquation(CLIFParser.EquationContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.EquationContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterInterpretablename(CLIFParser.InterpretablenameContext)
Enter a parse tree produced by interpretablename().
The default implementation does nothing.
Declaration
public virtual void EnterInterpretablename(CLIFParser.InterpretablenameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.InterpretablenameContext | context | The parse tree. |
EnterInterpretedname(CLIFParser.InterpretednameContext)
Enter a parse tree produced by interpretedname().
The default implementation does nothing.
Declaration
public virtual void EnterInterpretedname(CLIFParser.InterpretednameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.InterpretednameContext | context | The parse tree. |
EnterModule(CLIFParser.ModuleContext)
Enter a parse tree produced by module().
The default implementation does nothing.
Declaration
public virtual void EnterModule(CLIFParser.ModuleContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.ModuleContext | context | The parse tree. |
EnterName(CLIFParser.NameContext)
Enter a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void EnterName(CLIFParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.NameContext | context | The parse tree. |
EnterNamedtext(CLIFParser.NamedtextContext)
Enter a parse tree produced by namedtext().
The default implementation does nothing.
Declaration
public virtual void EnterNamedtext(CLIFParser.NamedtextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.NamedtextContext | context | The parse tree. |
EnterOperator_(CLIFParser.Operator_Context)
Enter a parse tree produced by operator_().
The default implementation does nothing.
Declaration
public virtual void EnterOperator_(CLIFParser.Operator_Context context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.Operator_Context | context | The parse tree. |
EnterPhrase(CLIFParser.PhraseContext)
Enter a parse tree produced by phrase().
The default implementation does nothing.
Declaration
public virtual void EnterPhrase(CLIFParser.PhraseContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.PhraseContext | context | The parse tree. |
EnterPredicate(CLIFParser.PredicateContext)
Enter a parse tree produced by predicate().
The default implementation does nothing.
Declaration
public virtual void EnterPredicate(CLIFParser.PredicateContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.PredicateContext | context | The parse tree. |
EnterQuantsent(CLIFParser.QuantsentContext)
Enter a parse tree produced by quantsent().
The default implementation does nothing.
Declaration
public virtual void EnterQuantsent(CLIFParser.QuantsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.QuantsentContext | context | The parse tree. |
EnterSentence(CLIFParser.SentenceContext)
Enter a parse tree produced by sentence().
The default implementation does nothing.
Declaration
public virtual void EnterSentence(CLIFParser.SentenceContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.SentenceContext | context | The parse tree. |
EnterTerm(CLIFParser.TermContext)
Enter a parse tree produced by term().
The default implementation does nothing.
Declaration
public virtual void EnterTerm(CLIFParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TermContext | context | The parse tree. |
EnterTermseq(CLIFParser.TermseqContext)
Enter a parse tree produced by termseq().
The default implementation does nothing.
Declaration
public virtual void EnterTermseq(CLIFParser.TermseqContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TermseqContext | context | The parse tree. |
EnterText(CLIFParser.TextContext)
Enter a parse tree produced by text().
The default implementation does nothing.
Declaration
public virtual void EnterText(CLIFParser.TextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TextContext | context | The parse tree. |
ExitAtom(CLIFParser.AtomContext)
Exit a parse tree produced by atom().
The default implementation does nothing.
Declaration
public virtual void ExitAtom(CLIFParser.AtomContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.AtomContext | context | The parse tree. |
ExitAtomsent(CLIFParser.AtomsentContext)
Exit a parse tree produced by atomsent().
The default implementation does nothing.
Declaration
public virtual void ExitAtomsent(CLIFParser.AtomsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.AtomsentContext | context | The parse tree. |
ExitBoolsent(CLIFParser.BoolsentContext)
Exit a parse tree produced by boolsent().
The default implementation does nothing.
Declaration
public virtual void ExitBoolsent(CLIFParser.BoolsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.BoolsentContext | context | The parse tree. |
ExitBoundlist(CLIFParser.BoundlistContext)
Exit a parse tree produced by boundlist().
The default implementation does nothing.
Declaration
public virtual void ExitBoundlist(CLIFParser.BoundlistContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.BoundlistContext | context | The parse tree. |
ExitCltext(CLIFParser.CltextContext)
Exit a parse tree produced by cltext().
The default implementation does nothing.
Declaration
public virtual void ExitCltext(CLIFParser.CltextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.CltextContext | context | The parse tree. |
ExitCommentsent(CLIFParser.CommentsentContext)
Exit a parse tree produced by commentsent().
The default implementation does nothing.
Declaration
public virtual void ExitCommentsent(CLIFParser.CommentsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.CommentsentContext | context | The parse tree. |
ExitEquation(CLIFParser.EquationContext)
Exit a parse tree produced by equation().
The default implementation does nothing.
Declaration
public virtual void ExitEquation(CLIFParser.EquationContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.EquationContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitInterpretablename(CLIFParser.InterpretablenameContext)
Exit a parse tree produced by interpretablename().
The default implementation does nothing.
Declaration
public virtual void ExitInterpretablename(CLIFParser.InterpretablenameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.InterpretablenameContext | context | The parse tree. |
ExitInterpretedname(CLIFParser.InterpretednameContext)
Exit a parse tree produced by interpretedname().
The default implementation does nothing.
Declaration
public virtual void ExitInterpretedname(CLIFParser.InterpretednameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.InterpretednameContext | context | The parse tree. |
ExitModule(CLIFParser.ModuleContext)
Exit a parse tree produced by module().
The default implementation does nothing.
Declaration
public virtual void ExitModule(CLIFParser.ModuleContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.ModuleContext | context | The parse tree. |
ExitName(CLIFParser.NameContext)
Exit a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void ExitName(CLIFParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.NameContext | context | The parse tree. |
ExitNamedtext(CLIFParser.NamedtextContext)
Exit a parse tree produced by namedtext().
The default implementation does nothing.
Declaration
public virtual void ExitNamedtext(CLIFParser.NamedtextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.NamedtextContext | context | The parse tree. |
ExitOperator_(CLIFParser.Operator_Context)
Exit a parse tree produced by operator_().
The default implementation does nothing.
Declaration
public virtual void ExitOperator_(CLIFParser.Operator_Context context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.Operator_Context | context | The parse tree. |
ExitPhrase(CLIFParser.PhraseContext)
Exit a parse tree produced by phrase().
The default implementation does nothing.
Declaration
public virtual void ExitPhrase(CLIFParser.PhraseContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.PhraseContext | context | The parse tree. |
ExitPredicate(CLIFParser.PredicateContext)
Exit a parse tree produced by predicate().
The default implementation does nothing.
Declaration
public virtual void ExitPredicate(CLIFParser.PredicateContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.PredicateContext | context | The parse tree. |
ExitQuantsent(CLIFParser.QuantsentContext)
Exit a parse tree produced by quantsent().
The default implementation does nothing.
Declaration
public virtual void ExitQuantsent(CLIFParser.QuantsentContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.QuantsentContext | context | The parse tree. |
ExitSentence(CLIFParser.SentenceContext)
Exit a parse tree produced by sentence().
The default implementation does nothing.
Declaration
public virtual void ExitSentence(CLIFParser.SentenceContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.SentenceContext | context | The parse tree. |
ExitTerm(CLIFParser.TermContext)
Exit a parse tree produced by term().
The default implementation does nothing.
Declaration
public virtual void ExitTerm(CLIFParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TermContext | context | The parse tree. |
ExitTermseq(CLIFParser.TermseqContext)
Exit a parse tree produced by termseq().
The default implementation does nothing.
Declaration
public virtual void ExitTermseq(CLIFParser.TermseqContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TermseqContext | context | The parse tree. |
ExitText(CLIFParser.TextContext)
Exit a parse tree produced by text().
The default implementation does nothing.
Declaration
public virtual void ExitText(CLIFParser.TextContext context)
Parameters
Type | Name | Description |
---|---|---|
CLIFParser.TextContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.