Show / Hide Table of Contents

Interface IarithmeticVisitor<Result>

This interface defines a complete generic visitor for a parse tree produced by arithmeticParser.

Namespace: GCore.Antlr.Grammers.Arithmetic
Assembly: Arithmetic.dll
Syntax
public interface 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().

Declaration
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().

Declaration
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().

Declaration
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_().

Declaration
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().

Declaration
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().

Declaration
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().

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

The parse tree.

Returns
Type Description
Result
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX