Interface IrefalVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by refalParser.
Namespace: GCore.Antlr.Grammers.Refal
Assembly: Refal.dll
Syntax
public interface IrefalVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitArg_(refalParser.Arg_Context)
Visit a parse tree produced by arg_().
Declaration
Result VisitArg_(refalParser.Arg_Context context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.Arg_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlock_(refalParser.Block_Context)
Visit a parse tree produced by block_().
Declaration
Result VisitBlock_(refalParser.Block_Context context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.Block_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlock_ending(refalParser.Block_endingContext)
Visit a parse tree produced by block_ending().
Declaration
Result VisitBlock_ending(refalParser.Block_endingContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.Block_endingContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConditions(refalParser.ConditionsContext)
Visit a parse tree produced by conditions().
Declaration
Result VisitConditions(refalParser.ConditionsContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.ConditionsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEvar(refalParser.EvarContext)
Visit a parse tree produced by evar().
Declaration
Result VisitEvar(refalParser.EvarContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.EvarContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression_(refalParser.Expression_Context)
Visit a parse tree produced by expression_().
Declaration
Result VisitExpression_(refalParser.Expression_Context context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.Expression_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExternal_decl(refalParser.External_declContext)
Visit a parse tree produced by external_decl().
Declaration
Result VisitExternal_decl(refalParser.External_declContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.External_declContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitF_definition(refalParser.F_definitionContext)
Visit a parse tree produced by f_definition().
Declaration
Result VisitF_definition(refalParser.F_definitionContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.F_definitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitF_name(refalParser.F_nameContext)
Visit a parse tree produced by f_name().
Declaration
Result VisitF_name(refalParser.F_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.F_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitF_name_list(refalParser.F_name_listContext)
Visit a parse tree produced by f_name_list().
Declaration
Result VisitF_name_list(refalParser.F_name_listContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.F_name_listContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifier(refalParser.IdentifierContext)
Visit a parse tree produced by identifier().
Declaration
Result VisitIdentifier(refalParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.IdentifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIndex(refalParser.IndexContext)
Visit a parse tree produced by index().
Declaration
Result VisitIndex(refalParser.IndexContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.IndexContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLeft_side(refalParser.Left_sideContext)
Visit a parse tree produced by left_side().
Declaration
Result VisitLeft_side(refalParser.Left_sideContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.Left_sideContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPattern(refalParser.PatternContext)
Visit a parse tree produced by pattern().
Declaration
Result VisitPattern(refalParser.PatternContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.PatternContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProgram(refalParser.ProgramContext)
Visit a parse tree produced by program().
Declaration
Result VisitProgram(refalParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.ProgramContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRight_side(refalParser.Right_sideContext)
Visit a parse tree produced by right_side().
Declaration
Result VisitRight_side(refalParser.Right_sideContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.Right_sideContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSentence(refalParser.SentenceContext)
Visit a parse tree produced by sentence().
Declaration
Result VisitSentence(refalParser.SentenceContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.SentenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSvar(refalParser.SvarContext)
Visit a parse tree produced by svar().
Declaration
Result VisitSvar(refalParser.SvarContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.SvarContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSymbol(refalParser.SymbolContext)
Visit a parse tree produced by symbol().
Declaration
Result VisitSymbol(refalParser.SymbolContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.SymbolContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm_(refalParser.Term_Context)
Visit a parse tree produced by term_().
Declaration
Result VisitTerm_(refalParser.Term_Context context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.Term_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTvar(refalParser.TvarContext)
Visit a parse tree produced by tvar().
Declaration
Result VisitTvar(refalParser.TvarContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.TvarContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariable(refalParser.VariableContext)
Visit a parse tree produced by variable().
Declaration
Result VisitVariable(refalParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
refalParser.VariableContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |