Show / Hide Table of Contents

Class arithmeticBaseListener

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

Inheritance
System.Object
arithmeticBaseListener
Implements
IarithmeticListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Arithmetic
Assembly: Arithmetic.dll
Syntax
public class arithmeticBaseListener : object, IarithmeticListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAtom(arithmeticParser.AtomContext)

Enter a parse tree produced by atom().

The default implementation does nothing.

Declaration
public virtual void EnterAtom(arithmeticParser.AtomContext context)
Parameters
Type Name Description
arithmeticParser.AtomContext context

The parse tree.

| Improve this Doc View Source

EnterEquation(arithmeticParser.EquationContext)

Enter a parse tree produced by equation().

The default implementation does nothing.

Declaration
public virtual void EnterEquation(arithmeticParser.EquationContext context)
Parameters
Type Name Description
arithmeticParser.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

EnterExpression(arithmeticParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterFile_(arithmeticParser.File_Context)

Enter a parse tree produced by file_().

The default implementation does nothing.

Declaration
public virtual void EnterFile_(arithmeticParser.File_Context context)
Parameters
Type Name Description
arithmeticParser.File_Context context

The parse tree.

| Improve this Doc View Source

EnterRelop(arithmeticParser.RelopContext)

Enter a parse tree produced by relop().

The default implementation does nothing.

Declaration
public virtual void EnterRelop(arithmeticParser.RelopContext context)
Parameters
Type Name Description
arithmeticParser.RelopContext context

The parse tree.

| Improve this Doc View Source

EnterScientific(arithmeticParser.ScientificContext)

Enter a parse tree produced by scientific().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterVariable(arithmeticParser.VariableContext)

Enter a parse tree produced by variable().

The default implementation does nothing.

Declaration
public virtual void EnterVariable(arithmeticParser.VariableContext context)
Parameters
Type Name Description
arithmeticParser.VariableContext context

The parse tree.

| Improve this Doc View Source

ExitAtom(arithmeticParser.AtomContext)

Exit a parse tree produced by atom().

The default implementation does nothing.

Declaration
public virtual void ExitAtom(arithmeticParser.AtomContext context)
Parameters
Type Name Description
arithmeticParser.AtomContext context

The parse tree.

| Improve this Doc View Source

ExitEquation(arithmeticParser.EquationContext)

Exit a parse tree produced by equation().

The default implementation does nothing.

Declaration
public virtual void ExitEquation(arithmeticParser.EquationContext context)
Parameters
Type Name Description
arithmeticParser.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

ExitExpression(arithmeticParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitFile_(arithmeticParser.File_Context)

Exit a parse tree produced by file_().

The default implementation does nothing.

Declaration
public virtual void ExitFile_(arithmeticParser.File_Context context)
Parameters
Type Name Description
arithmeticParser.File_Context context

The parse tree.

| Improve this Doc View Source

ExitRelop(arithmeticParser.RelopContext)

Exit a parse tree produced by relop().

The default implementation does nothing.

Declaration
public virtual void ExitRelop(arithmeticParser.RelopContext context)
Parameters
Type Name Description
arithmeticParser.RelopContext context

The parse tree.

| Improve this Doc View Source

ExitScientific(arithmeticParser.ScientificContext)

Exit a parse tree produced by scientific().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitVariable(arithmeticParser.VariableContext)

Exit a parse tree produced by variable().

The default implementation does nothing.

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

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