Show / Hide Table of Contents

Class rpnBaseListener

This class provides an empty implementation of IrpnListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
rpnBaseListener
Implements
IrpnListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Rpn
Assembly: Rpn.dll
Syntax
public class rpnBaseListener : object, IrpnListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| 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

EnterExpression(rpnParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void EnterExpression(rpnParser.ExpressionContext context)
Parameters
Type Name Description
rpnParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterOper(rpnParser.OperContext)

Enter a parse tree produced by oper().

The default implementation does nothing.

Declaration
public virtual void EnterOper(rpnParser.OperContext context)
Parameters
Type Name Description
rpnParser.OperContext context

The parse tree.

| Improve this Doc View Source

EnterScientific(rpnParser.ScientificContext)

Enter a parse tree produced by scientific().

The default implementation does nothing.

Declaration
public virtual void EnterScientific(rpnParser.ScientificContext context)
Parameters
Type Name Description
rpnParser.ScientificContext context

The parse tree.

| Improve this Doc View Source

EnterSignedAtom(rpnParser.SignedAtomContext)

Enter a parse tree produced by signedAtom().

The default implementation does nothing.

Declaration
public virtual void EnterSignedAtom(rpnParser.SignedAtomContext context)
Parameters
Type Name Description
rpnParser.SignedAtomContext context

The parse tree.

| Improve this Doc View Source

EnterTerm(rpnParser.TermContext)

Enter a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void EnterTerm(rpnParser.TermContext context)
Parameters
Type Name Description
rpnParser.TermContext context

The parse tree.

| Improve this Doc View Source

EnterVariable(rpnParser.VariableContext)

Enter a parse tree produced by variable().

The default implementation does nothing.

Declaration
public virtual void EnterVariable(rpnParser.VariableContext context)
Parameters
Type Name Description
rpnParser.VariableContext 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

ExitExpression(rpnParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void ExitExpression(rpnParser.ExpressionContext context)
Parameters
Type Name Description
rpnParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitOper(rpnParser.OperContext)

Exit a parse tree produced by oper().

The default implementation does nothing.

Declaration
public virtual void ExitOper(rpnParser.OperContext context)
Parameters
Type Name Description
rpnParser.OperContext context

The parse tree.

| Improve this Doc View Source

ExitScientific(rpnParser.ScientificContext)

Exit a parse tree produced by scientific().

The default implementation does nothing.

Declaration
public virtual void ExitScientific(rpnParser.ScientificContext context)
Parameters
Type Name Description
rpnParser.ScientificContext context

The parse tree.

| Improve this Doc View Source

ExitSignedAtom(rpnParser.SignedAtomContext)

Exit a parse tree produced by signedAtom().

The default implementation does nothing.

Declaration
public virtual void ExitSignedAtom(rpnParser.SignedAtomContext context)
Parameters
Type Name Description
rpnParser.SignedAtomContext context

The parse tree.

| Improve this Doc View Source

ExitTerm(rpnParser.TermContext)

Exit a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void ExitTerm(rpnParser.TermContext context)
Parameters
Type Name Description
rpnParser.TermContext context

The parse tree.

| Improve this Doc View Source

ExitVariable(rpnParser.VariableContext)

Exit a parse tree produced by variable().

The default implementation does nothing.

Declaration
public virtual void ExitVariable(rpnParser.VariableContext context)
Parameters
Type Name Description
rpnParser.VariableContext 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

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