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