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 SourceVisitExpression(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 |
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 |
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 |
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 |
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 |
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 |