Show / Hide Table of Contents

Interface IrpnVisitor<Result>

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

Namespace: GCore.Antlr.Grammers.Rpn
Assembly: Rpn.dll
Syntax
public interface IrpnVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitExpression(rpnParser.ExpressionContext)

Visit a parse tree produced by expression().

Declaration
Result VisitExpression(rpnParser.ExpressionContext context)
Parameters
Type Name Description
rpnParser.ExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOper(rpnParser.OperContext)

Visit a parse tree produced by oper().

Declaration
Result VisitOper(rpnParser.OperContext context)
Parameters
Type Name Description
rpnParser.OperContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitScientific(rpnParser.ScientificContext)

Visit a parse tree produced by scientific().

Declaration
Result VisitScientific(rpnParser.ScientificContext context)
Parameters
Type Name Description
rpnParser.ScientificContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSignedAtom(rpnParser.SignedAtomContext)

Visit a parse tree produced by signedAtom().

Declaration
Result VisitSignedAtom(rpnParser.SignedAtomContext context)
Parameters
Type Name Description
rpnParser.SignedAtomContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTerm(rpnParser.TermContext)

Visit a parse tree produced by term().

Declaration
Result VisitTerm(rpnParser.TermContext context)
Parameters
Type Name Description
rpnParser.TermContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariable(rpnParser.VariableContext)

Visit a parse tree produced by variable().

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

The parse tree.

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