Show / Hide Table of Contents

Class refalBaseVisitor<Result>

This class provides an empty implementation of IrefalVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
refalBaseVisitor<Result>
Implements
IrefalVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Refal
Assembly: Refal.dll
Syntax
public class refalBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IrefalVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitArg_(refalParser.Arg_Context)

Visit a parse tree produced by arg_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArg_(refalParser.Arg_Context context)
Parameters
Type Name Description
refalParser.Arg_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBlock_(refalParser.Block_Context)

Visit a parse tree produced by block_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBlock_(refalParser.Block_Context context)
Parameters
Type Name Description
refalParser.Block_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBlock_ending(refalParser.Block_endingContext)

Visit a parse tree produced by block_ending().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBlock_ending(refalParser.Block_endingContext context)
Parameters
Type Name Description
refalParser.Block_endingContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitConditions(refalParser.ConditionsContext)

Visit a parse tree produced by conditions().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitConditions(refalParser.ConditionsContext context)
Parameters
Type Name Description
refalParser.ConditionsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEvar(refalParser.EvarContext)

Visit a parse tree produced by evar().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEvar(refalParser.EvarContext context)
Parameters
Type Name Description
refalParser.EvarContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpression_(refalParser.Expression_Context)

Visit a parse tree produced by expression_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExpression_(refalParser.Expression_Context context)
Parameters
Type Name Description
refalParser.Expression_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExternal_decl(refalParser.External_declContext)

Visit a parse tree produced by external_decl().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExternal_decl(refalParser.External_declContext context)
Parameters
Type Name Description
refalParser.External_declContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitF_definition(refalParser.F_definitionContext)

Visit a parse tree produced by f_definition().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitF_definition(refalParser.F_definitionContext context)
Parameters
Type Name Description
refalParser.F_definitionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitF_name(refalParser.F_nameContext)

Visit a parse tree produced by f_name().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitF_name(refalParser.F_nameContext context)
Parameters
Type Name Description
refalParser.F_nameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitF_name_list(refalParser.F_name_listContext)

Visit a parse tree produced by f_name_list().

The default implementation returns the result of calling on context.

Declaration
public virtual 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
| Improve this Doc View Source

VisitIdentifier(refalParser.IdentifierContext)

Visit a parse tree produced by identifier().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIdentifier(refalParser.IdentifierContext context)
Parameters
Type Name Description
refalParser.IdentifierContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIndex(refalParser.IndexContext)

Visit a parse tree produced by index().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIndex(refalParser.IndexContext context)
Parameters
Type Name Description
refalParser.IndexContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLeft_side(refalParser.Left_sideContext)

Visit a parse tree produced by left_side().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLeft_side(refalParser.Left_sideContext context)
Parameters
Type Name Description
refalParser.Left_sideContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPattern(refalParser.PatternContext)

Visit a parse tree produced by pattern().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPattern(refalParser.PatternContext context)
Parameters
Type Name Description
refalParser.PatternContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProgram(refalParser.ProgramContext)

Visit a parse tree produced by program().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitProgram(refalParser.ProgramContext context)
Parameters
Type Name Description
refalParser.ProgramContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRight_side(refalParser.Right_sideContext)

Visit a parse tree produced by right_side().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRight_side(refalParser.Right_sideContext context)
Parameters
Type Name Description
refalParser.Right_sideContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSentence(refalParser.SentenceContext)

Visit a parse tree produced by sentence().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSentence(refalParser.SentenceContext context)
Parameters
Type Name Description
refalParser.SentenceContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSvar(refalParser.SvarContext)

Visit a parse tree produced by svar().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSvar(refalParser.SvarContext context)
Parameters
Type Name Description
refalParser.SvarContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSymbol(refalParser.SymbolContext)

Visit a parse tree produced by symbol().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSymbol(refalParser.SymbolContext context)
Parameters
Type Name Description
refalParser.SymbolContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTerm_(refalParser.Term_Context)

Visit a parse tree produced by term_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTerm_(refalParser.Term_Context context)
Parameters
Type Name Description
refalParser.Term_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTvar(refalParser.TvarContext)

Visit a parse tree produced by tvar().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTvar(refalParser.TvarContext context)
Parameters
Type Name Description
refalParser.TvarContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariable(refalParser.VariableContext)

Visit a parse tree produced by variable().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVariable(refalParser.VariableContext context)
Parameters
Type Name Description
refalParser.VariableContext context

The parse tree.

Returns
Type Description
Result

Implements

IrefalVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX