Class m2pim4BaseVisitor<Result>
This class provides an empty implementation of Im2pim4Visitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Modula2pim4
Assembly: Modula2pim4.dll
Syntax
public class m2pim4BaseVisitor<Result> : AbstractParseTreeVisitor<Result>, Im2pim4Visitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitActualParameters(m2pim4Parser.ActualParametersContext)
Visit a parse tree produced by actualParameters().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitActualParameters(m2pim4Parser.ActualParametersContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ActualParametersContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAddOperator(m2pim4Parser.AddOperatorContext)
Visit a parse tree produced by addOperator().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAddOperator(m2pim4Parser.AddOperatorContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.AddOperatorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitArrayType(m2pim4Parser.ArrayTypeContext)
Visit a parse tree produced by arrayType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitArrayType(m2pim4Parser.ArrayTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ArrayTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssignmentOrProcCall(m2pim4Parser.AssignmentOrProcCallContext)
Visit a parse tree produced by assignmentOrProcCall().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAssignmentOrProcCall(m2pim4Parser.AssignmentOrProcCallContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.AssignmentOrProcCallContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlock(m2pim4Parser.BlockContext)
Visit a parse tree produced by block().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBlock(m2pim4Parser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.BlockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCaseLabelList(m2pim4Parser.CaseLabelListContext)
Visit a parse tree produced by caseLabelList().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCaseLabelList(m2pim4Parser.CaseLabelListContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.CaseLabelListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCaseLabels(m2pim4Parser.CaseLabelsContext)
Visit a parse tree produced by caseLabels().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCaseLabels(m2pim4Parser.CaseLabelsContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.CaseLabelsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCaseStatement(m2pim4Parser.CaseStatementContext)
Visit a parse tree produced by caseStatement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCaseStatement(m2pim4Parser.CaseStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.CaseStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCcase(m2pim4Parser.CcaseContext)
Visit a parse tree produced by ccase().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCcase(m2pim4Parser.CcaseContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.CcaseContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCompilationUnit(m2pim4Parser.CompilationUnitContext)
Visit a parse tree produced by compilationUnit().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCompilationUnit(m2pim4Parser.CompilationUnitContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.CompilationUnitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConstantDeclaration(m2pim4Parser.ConstantDeclarationContext)
Visit a parse tree produced by constantDeclaration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitConstantDeclaration(m2pim4Parser.ConstantDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ConstantDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConstExpression(m2pim4Parser.ConstExpressionContext)
Visit a parse tree produced by constExpression().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitConstExpression(m2pim4Parser.ConstExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ConstExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConstFactor(m2pim4Parser.ConstFactorContext)
Visit a parse tree produced by constFactor().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitConstFactor(m2pim4Parser.ConstFactorContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ConstFactorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConstTerm(m2pim4Parser.ConstTermContext)
Visit a parse tree produced by constTerm().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitConstTerm(m2pim4Parser.ConstTermContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ConstTermContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDeclaration(m2pim4Parser.DeclarationContext)
Visit a parse tree produced by declaration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDeclaration(m2pim4Parser.DeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.DeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDefinition(m2pim4Parser.DefinitionContext)
Visit a parse tree produced by definition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDefinition(m2pim4Parser.DefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.DefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDefinitionModule(m2pim4Parser.DefinitionModuleContext)
Visit a parse tree produced by definitionModule().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDefinitionModule(m2pim4Parser.DefinitionModuleContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.DefinitionModuleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDesignator(m2pim4Parser.DesignatorContext)
Visit a parse tree produced by designator().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDesignator(m2pim4Parser.DesignatorContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.DesignatorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDesignatorTail(m2pim4Parser.DesignatorTailContext)
Visit a parse tree produced by designatorTail().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDesignatorTail(m2pim4Parser.DesignatorTailContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.DesignatorTailContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDigit(m2pim4Parser.DigitContext)
Visit a parse tree produced by digit().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDigit(m2pim4Parser.DigitContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.DigitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitElement(m2pim4Parser.ElementContext)
Visit a parse tree produced by element().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitElement(m2pim4Parser.ElementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumeration(m2pim4Parser.EnumerationContext)
Visit a parse tree produced by enumeration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEnumeration(m2pim4Parser.EnumerationContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.EnumerationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpList(m2pim4Parser.ExpListContext)
Visit a parse tree produced by expList().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExpList(m2pim4Parser.ExpListContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ExpListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExportList(m2pim4Parser.ExportListContext)
Visit a parse tree produced by exportList().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExportList(m2pim4Parser.ExportListContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ExportListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(m2pim4Parser.ExpressionContext)
Visit a parse tree produced by expression().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExpression(m2pim4Parser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFactor(m2pim4Parser.FactorContext)
Visit a parse tree produced by factor().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFactor(m2pim4Parser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.FactorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFieldList(m2pim4Parser.FieldListContext)
Visit a parse tree produced by fieldList().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFieldList(m2pim4Parser.FieldListContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.FieldListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFieldListSequence(m2pim4Parser.FieldListSequenceContext)
Visit a parse tree produced by fieldListSequence().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFieldListSequence(m2pim4Parser.FieldListSequenceContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.FieldListSequenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFormalParameters(m2pim4Parser.FormalParametersContext)
Visit a parse tree produced by formalParameters().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFormalParameters(m2pim4Parser.FormalParametersContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.FormalParametersContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFormalType(m2pim4Parser.FormalTypeContext)
Visit a parse tree produced by formalType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFormalType(m2pim4Parser.FormalTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.FormalTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFormalTypeList(m2pim4Parser.FormalTypeListContext)
Visit a parse tree produced by formalTypeList().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFormalTypeList(m2pim4Parser.FormalTypeListContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.FormalTypeListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitForStatement(m2pim4Parser.ForStatementContext)
Visit a parse tree produced by forStatement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitForStatement(m2pim4Parser.ForStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ForStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFpSection(m2pim4Parser.FpSectionContext)
Visit a parse tree produced by fpSection().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFpSection(m2pim4Parser.FpSectionContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.FpSectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHexDigit(m2pim4Parser.HexDigitContext)
Visit a parse tree produced by hexDigit().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHexDigit(m2pim4Parser.HexDigitContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.HexDigitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdent(m2pim4Parser.IdentContext)
Visit a parse tree produced by ident().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIdent(m2pim4Parser.IdentContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.IdentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentList(m2pim4Parser.IdentListContext)
Visit a parse tree produced by identList().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIdentList(m2pim4Parser.IdentListContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.IdentListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIfStatement(m2pim4Parser.IfStatementContext)
Visit a parse tree produced by ifStatement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIfStatement(m2pim4Parser.IfStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.IfStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitImportList(m2pim4Parser.ImportListContext)
Visit a parse tree produced by importList().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitImportList(m2pim4Parser.ImportListContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ImportListContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInteger(m2pim4Parser.IntegerContext)
Visit a parse tree produced by integer().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInteger(m2pim4Parser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.IntegerContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLoopStatement(m2pim4Parser.LoopStatementContext)
Visit a parse tree produced by loopStatement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitLoopStatement(m2pim4Parser.LoopStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.LoopStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitModuleDeclaration(m2pim4Parser.ModuleDeclarationContext)
Visit a parse tree produced by moduleDeclaration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitModuleDeclaration(m2pim4Parser.ModuleDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ModuleDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMulOperator(m2pim4Parser.MulOperatorContext)
Visit a parse tree produced by mulOperator().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitMulOperator(m2pim4Parser.MulOperatorContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.MulOperatorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumber(m2pim4Parser.NumberContext)
Visit a parse tree produced by number().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNumber(m2pim4Parser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.NumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOctalDigit(m2pim4Parser.OctalDigitContext)
Visit a parse tree produced by octalDigit().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOctalDigit(m2pim4Parser.OctalDigitContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.OctalDigitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPointerType(m2pim4Parser.PointerTypeContext)
Visit a parse tree produced by pointerType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPointerType(m2pim4Parser.PointerTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.PointerTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPriority(m2pim4Parser.PriorityContext)
Visit a parse tree produced by priority().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitPriority(m2pim4Parser.PriorityContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.PriorityContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProcedureDeclaration(m2pim4Parser.ProcedureDeclarationContext)
Visit a parse tree produced by procedureDeclaration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitProcedureDeclaration(m2pim4Parser.ProcedureDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ProcedureDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProcedureHeading(m2pim4Parser.ProcedureHeadingContext)
Visit a parse tree produced by procedureHeading().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitProcedureHeading(m2pim4Parser.ProcedureHeadingContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ProcedureHeadingContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProcedureType(m2pim4Parser.ProcedureTypeContext)
Visit a parse tree produced by procedureType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitProcedureType(m2pim4Parser.ProcedureTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ProcedureTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProgramModule(m2pim4Parser.ProgramModuleContext)
Visit a parse tree produced by programModule().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitProgramModule(m2pim4Parser.ProgramModuleContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ProgramModuleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitQualident(m2pim4Parser.QualidentContext)
Visit a parse tree produced by qualident().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitQualident(m2pim4Parser.QualidentContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.QualidentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReal(m2pim4Parser.RealContext)
Visit a parse tree produced by real().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitReal(m2pim4Parser.RealContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.RealContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRecordType(m2pim4Parser.RecordTypeContext)
Visit a parse tree produced by recordType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRecordType(m2pim4Parser.RecordTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.RecordTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRelation(m2pim4Parser.RelationContext)
Visit a parse tree produced by relation().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRelation(m2pim4Parser.RelationContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.RelationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRepeatStatement(m2pim4Parser.RepeatStatementContext)
Visit a parse tree produced by repeatStatement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRepeatStatement(m2pim4Parser.RepeatStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.RepeatStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitScaleFactor(m2pim4Parser.ScaleFactorContext)
Visit a parse tree produced by scaleFactor().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitScaleFactor(m2pim4Parser.ScaleFactorContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.ScaleFactorContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSet_(m2pim4Parser.Set_Context)
Visit a parse tree produced by set_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSet_(m2pim4Parser.Set_Context context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.Set_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSetOrDesignatorOrProcCall(m2pim4Parser.SetOrDesignatorOrProcCallContext)
Visit a parse tree produced by setOrDesignatorOrProcCall().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSetOrDesignatorOrProcCall(m2pim4Parser.SetOrDesignatorOrProcCallContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.SetOrDesignatorOrProcCallContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSetOrQualident(m2pim4Parser.SetOrQualidentContext)
Visit a parse tree produced by setOrQualident().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSetOrQualident(m2pim4Parser.SetOrQualidentContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.SetOrQualidentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSetType(m2pim4Parser.SetTypeContext)
Visit a parse tree produced by setType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSetType(m2pim4Parser.SetTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.SetTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSimpleConstExpr(m2pim4Parser.SimpleConstExprContext)
Visit a parse tree produced by simpleConstExpr().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSimpleConstExpr(m2pim4Parser.SimpleConstExprContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.SimpleConstExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSimpleExpression(m2pim4Parser.SimpleExpressionContext)
Visit a parse tree produced by simpleExpression().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSimpleExpression(m2pim4Parser.SimpleExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.SimpleExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSimpleType(m2pim4Parser.SimpleTypeContext)
Visit a parse tree produced by simpleType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSimpleType(m2pim4Parser.SimpleTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.SimpleTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatement(m2pim4Parser.StatementContext)
Visit a parse tree produced by statement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStatement(m2pim4Parser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.StatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatementSequence(m2pim4Parser.StatementSequenceContext)
Visit a parse tree produced by statementSequence().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStatementSequence(m2pim4Parser.StatementSequenceContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.StatementSequenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitString(m2pim4Parser.StringContext)
Visit a parse tree produced by
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitString(m2pim4Parser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.StringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSubrangeType(m2pim4Parser.SubrangeTypeContext)
Visit a parse tree produced by subrangeType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSubrangeType(m2pim4Parser.SubrangeTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.SubrangeTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerm(m2pim4Parser.TermContext)
Visit a parse tree produced by term().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTerm(m2pim4Parser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.TermContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitType_(m2pim4Parser.Type_Context)
Visit a parse tree produced by type_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitType_(m2pim4Parser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.Type_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeDeclaration(m2pim4Parser.TypeDeclarationContext)
Visit a parse tree produced by typeDeclaration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTypeDeclaration(m2pim4Parser.TypeDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.TypeDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariableDeclaration(m2pim4Parser.VariableDeclarationContext)
Visit a parse tree produced by variableDeclaration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVariableDeclaration(m2pim4Parser.VariableDeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.VariableDeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariant(m2pim4Parser.VariantContext)
Visit a parse tree produced by variant().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVariant(m2pim4Parser.VariantContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.VariantContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWhileStatement(m2pim4Parser.WhileStatementContext)
Visit a parse tree produced by whileStatement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWhileStatement(m2pim4Parser.WhileStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.WhileStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitWithStatement(m2pim4Parser.WithStatementContext)
Visit a parse tree produced by withStatement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitWithStatement(m2pim4Parser.WithStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.WithStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |