Show / Hide Table of Contents

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
System.Object
CLIFBaseListener
Implements
ICLIFListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Clif
Assembly: Clif.dll
Syntax
public class CLIFBaseListener : object, ICLIFListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAtom(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

ICLIFListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX