Show / Hide Table of Contents

Class arithmeticBaseVisitor<Result>

This class provides an empty implementation of IarithmeticVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
arithmeticBaseVisitor<Result>
Implements
IarithmeticVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Arithmetic
Assembly: Arithmetic.dll
Syntax
public class arithmeticBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IarithmeticVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAtom(arithmeticParser.AtomContext)

Visit a parse tree produced by atom().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAtom(arithmeticParser.AtomContext context)
Parameters
Type Name Description
arithmeticParser.AtomContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEquation(arithmeticParser.EquationContext)

Visit a parse tree produced by equation().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEquation(arithmeticParser.EquationContext context)
Parameters
Type Name Description
arithmeticParser.EquationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpression(arithmeticParser.ExpressionContext)

Visit a parse tree produced by expression().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExpression(arithmeticParser.ExpressionContext context)
Parameters
Type Name Description
arithmeticParser.ExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFile_(arithmeticParser.File_Context)

Visit a parse tree produced by file_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFile_(arithmeticParser.File_Context context)
Parameters
Type Name Description
arithmeticParser.File_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRelop(arithmeticParser.RelopContext)

Visit a parse tree produced by relop().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRelop(arithmeticParser.RelopContext context)
Parameters
Type Name Description
arithmeticParser.RelopContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitScientific(arithmeticParser.ScientificContext)

Visit a parse tree produced by scientific().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitScientific(arithmeticParser.ScientificContext context)
Parameters
Type Name Description
arithmeticParser.ScientificContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariable(arithmeticParser.VariableContext)

Visit a parse tree produced by variable().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVariable(arithmeticParser.VariableContext context)
Parameters
Type Name Description
arithmeticParser.VariableContext context

The parse tree.

Returns
Type Description
Result

Implements

IarithmeticVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX