Interface Im2pim4Visitor<Result>
This interface defines a complete generic visitor for a parse tree produced by m2pim4Parser.
Namespace: GCore.Antlr.Grammers.Modula2pim4
Assembly: Modula2pim4.dll
Syntax
public interface 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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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_().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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
Declaration
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().
Declaration
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().
Declaration
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_().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
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().
Declaration
Result VisitWithStatement(m2pim4Parser.WithStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
m2pim4Parser.WithStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |