Show / Hide Table of Contents

Interface IturingVisitor<Result>

This interface defines a complete generic visitor for a parse tree produced by turingParser.

Namespace: GCore.Antlr.Grammers.Turing
Assembly: Turing.dll
Syntax
public interface IturingVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitArrayType(turingParser.ArrayTypeContext)

Visit a parse tree produced by arrayType().

Declaration
Result VisitArrayType(turingParser.ArrayTypeContext context)
Parameters
Type Name Description
turingParser.ArrayTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBooleanExpn(turingParser.BooleanExpnContext)

Visit a parse tree produced by booleanExpn().

Declaration
Result VisitBooleanExpn(turingParser.BooleanExpnContext context)
Parameters
Type Name Description
turingParser.BooleanExpnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCapability(turingParser.CapabilityContext)

Visit a parse tree produced by capability().

Declaration
Result VisitCapability(turingParser.CapabilityContext context)
Parameters
Type Name Description
turingParser.CapabilityContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCaseStatement(turingParser.CaseStatementContext)

Visit a parse tree produced by caseStatement().

Declaration
Result VisitCaseStatement(turingParser.CaseStatementContext context)
Parameters
Type Name Description
turingParser.CaseStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCloseStatement(turingParser.CloseStatementContext)

Visit a parse tree produced by closeStatement().

Declaration
Result VisitCloseStatement(turingParser.CloseStatementContext context)
Parameters
Type Name Description
turingParser.CloseStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitCompileTimeExpn(turingParser.CompileTimeExpnContext)

Visit a parse tree produced by compileTimeExpn().

Declaration
Result VisitCompileTimeExpn(turingParser.CompileTimeExpnContext context)
Parameters
Type Name Description
turingParser.CompileTimeExpnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitComponentSelector(turingParser.ComponentSelectorContext)

Visit a parse tree produced by componentSelector().

Declaration
Result VisitComponentSelector(turingParser.ComponentSelectorContext context)
Parameters
Type Name Description
turingParser.ComponentSelectorContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitConstantDeclaration(turingParser.ConstantDeclarationContext)

Visit a parse tree produced by constantDeclaration().

Declaration
Result VisitConstantDeclaration(turingParser.ConstantDeclarationContext context)
Parameters
Type Name Description
turingParser.ConstantDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDeclaration(turingParser.DeclarationContext)

Visit a parse tree produced by declaration().

Declaration
Result VisitDeclaration(turingParser.DeclarationContext context)
Parameters
Type Name Description
turingParser.DeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDeclarationOrStatement(turingParser.DeclarationOrStatementContext)

Visit a parse tree produced by declarationOrStatement().

Declaration
Result VisitDeclarationOrStatement(turingParser.DeclarationOrStatementContext context)
Parameters
Type Name Description
turingParser.DeclarationOrStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDeclarationOrStatementInMainProgram(turingParser.DeclarationOrStatementInMainProgramContext)

Visit a parse tree produced by declarationOrStatementInMainProgram().

Declaration
Result VisitDeclarationOrStatementInMainProgram(turingParser.DeclarationOrStatementInMainProgramContext context)
Parameters
Type Name Description
turingParser.DeclarationOrStatementInMainProgramContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDeclarationsAndStatements(turingParser.DeclarationsAndStatementsContext)

Visit a parse tree produced by declarationsAndStatements().

Declaration
Result VisitDeclarationsAndStatements(turingParser.DeclarationsAndStatementsContext context)
Parameters
Type Name Description
turingParser.DeclarationsAndStatementsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExplicitConstant(turingParser.ExplicitConstantContext)

Visit a parse tree produced by explicitConstant().

Declaration
Result VisitExplicitConstant(turingParser.ExplicitConstantContext context)
Parameters
Type Name Description
turingParser.ExplicitConstantContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpn(turingParser.ExpnContext)

Visit a parse tree produced by expn().

Declaration
Result VisitExpn(turingParser.ExpnContext context)
Parameters
Type Name Description
turingParser.ExpnContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExponentWidth(turingParser.ExponentWidthContext)

Visit a parse tree produced by exponentWidth().

Declaration
Result VisitExponentWidth(turingParser.ExponentWidthContext context)
Parameters
Type Name Description
turingParser.ExponentWidthContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFileNumber(turingParser.FileNumberContext)

Visit a parse tree produced by fileNumber().

Declaration
Result VisitFileNumber(turingParser.FileNumberContext context)
Parameters
Type Name Description
turingParser.FileNumberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitForStatement(turingParser.ForStatementContext)

Visit a parse tree produced by forStatement().

Declaration
Result VisitForStatement(turingParser.ForStatementContext context)
Parameters
Type Name Description
turingParser.ForStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFractionWidth(turingParser.FractionWidthContext)

Visit a parse tree produced by fractionWidth().

Declaration
Result VisitFractionWidth(turingParser.FractionWidthContext context)
Parameters
Type Name Description
turingParser.FractionWidthContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGetItem(turingParser.GetItemContext)

Visit a parse tree produced by getItem().

Declaration
Result VisitGetItem(turingParser.GetItemContext context)
Parameters
Type Name Description
turingParser.GetItemContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGetStatement(turingParser.GetStatementContext)

Visit a parse tree produced by getStatement().

Declaration
Result VisitGetStatement(turingParser.GetStatementContext context)
Parameters
Type Name Description
turingParser.GetStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitId_(turingParser.Id_Context)

Visit a parse tree produced by id_().

Declaration
Result VisitId_(turingParser.Id_Context context)
Parameters
Type Name Description
turingParser.Id_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIfStatement(turingParser.IfStatementContext)

Visit a parse tree produced by ifStatement().

Declaration
Result VisitIfStatement(turingParser.IfStatementContext context)
Parameters
Type Name Description
turingParser.IfStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIndexType(turingParser.IndexTypeContext)

Visit a parse tree produced by indexType().

Declaration
Result VisitIndexType(turingParser.IndexTypeContext context)
Parameters
Type Name Description
turingParser.IndexTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInfixOperator(turingParser.InfixOperatorContext)

Visit a parse tree produced by infixOperator().

Declaration
Result VisitInfixOperator(turingParser.InfixOperatorContext context)
Parameters
Type Name Description
turingParser.InfixOperatorContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInitializingValue(turingParser.InitializingValueContext)

Visit a parse tree produced by initializingValue().

Declaration
Result VisitInitializingValue(turingParser.InitializingValueContext context)
Parameters
Type Name Description
turingParser.InitializingValueContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLoopStatement(turingParser.LoopStatementContext)

Visit a parse tree produced by loopStatement().

Declaration
Result VisitLoopStatement(turingParser.LoopStatementContext context)
Parameters
Type Name Description
turingParser.LoopStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNamedType(turingParser.NamedTypeContext)

Visit a parse tree produced by namedType().

Declaration
Result VisitNamedType(turingParser.NamedTypeContext context)
Parameters
Type Name Description
turingParser.NamedTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOpenStatement(turingParser.OpenStatementContext)

Visit a parse tree produced by openStatement().

Declaration
Result VisitOpenStatement(turingParser.OpenStatementContext context)
Parameters
Type Name Description
turingParser.OpenStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParameterDeclaration(turingParser.ParameterDeclarationContext)

Visit a parse tree produced by parameterDeclaration().

Declaration
Result VisitParameterDeclaration(turingParser.ParameterDeclarationContext context)
Parameters
Type Name Description
turingParser.ParameterDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParameterType(turingParser.ParameterTypeContext)

Visit a parse tree produced by parameterType().

Declaration
Result VisitParameterType(turingParser.ParameterTypeContext context)
Parameters
Type Name Description
turingParser.ParameterTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPrefixOperator(turingParser.PrefixOperatorContext)

Visit a parse tree produced by prefixOperator().

Declaration
Result VisitPrefixOperator(turingParser.PrefixOperatorContext context)
Parameters
Type Name Description
turingParser.PrefixOperatorContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProcedureCall(turingParser.ProcedureCallContext)

Visit a parse tree produced by procedureCall().

Declaration
Result VisitProcedureCall(turingParser.ProcedureCallContext context)
Parameters
Type Name Description
turingParser.ProcedureCallContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProgram(turingParser.ProgramContext)

Visit a parse tree produced by program().

Declaration
Result VisitProgram(turingParser.ProgramContext context)
Parameters
Type Name Description
turingParser.ProgramContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPutItem(turingParser.PutItemContext)

Visit a parse tree produced by putItem().

Declaration
Result VisitPutItem(turingParser.PutItemContext context)
Parameters
Type Name Description
turingParser.PutItemContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPutStatement(turingParser.PutStatementContext)

Visit a parse tree produced by putStatement().

Declaration
Result VisitPutStatement(turingParser.PutStatementContext context)
Parameters
Type Name Description
turingParser.PutStatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRecordType(turingParser.RecordTypeContext)

Visit a parse tree produced by recordType().

Declaration
Result VisitRecordType(turingParser.RecordTypeContext context)
Parameters
Type Name Description
turingParser.RecordTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitReference(turingParser.ReferenceContext)

Visit a parse tree produced by reference().

Declaration
Result VisitReference(turingParser.ReferenceContext context)
Parameters
Type Name Description
turingParser.ReferenceContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitReference_2(turingParser.Reference_2Context)

Visit a parse tree produced by reference_2().

Declaration
Result VisitReference_2(turingParser.Reference_2Context context)
Parameters
Type Name Description
turingParser.Reference_2Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStandardType(turingParser.StandardTypeContext)

Visit a parse tree produced by standardType().

Declaration
Result VisitStandardType(turingParser.StandardTypeContext context)
Parameters
Type Name Description
turingParser.StandardTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStatement(turingParser.StatementContext)

Visit a parse tree produced by statement().

Declaration
Result VisitStatement(turingParser.StatementContext context)
Parameters
Type Name Description
turingParser.StatementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStreamNumber(turingParser.StreamNumberContext)

Visit a parse tree produced by streamNumber().

Declaration
Result VisitStreamNumber(turingParser.StreamNumberContext context)
Parameters
Type Name Description
turingParser.StreamNumberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitString(turingParser.StringContext)

Visit a parse tree produced by .

Declaration
Result VisitString(turingParser.StringContext context)
Parameters
Type Name Description
turingParser.StringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubprogramBody(turingParser.SubprogramBodyContext)

Visit a parse tree produced by subprogramBody().

Declaration
Result VisitSubprogramBody(turingParser.SubprogramBodyContext context)
Parameters
Type Name Description
turingParser.SubprogramBodyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubprogramDeclaration(turingParser.SubprogramDeclarationContext)

Visit a parse tree produced by subprogramDeclaration().

Declaration
Result VisitSubprogramDeclaration(turingParser.SubprogramDeclarationContext context)
Parameters
Type Name Description
turingParser.SubprogramDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubprogramHeader(turingParser.SubprogramHeaderContext)

Visit a parse tree produced by subprogramHeader().

Declaration
Result VisitSubprogramHeader(turingParser.SubprogramHeaderContext context)
Parameters
Type Name Description
turingParser.SubprogramHeaderContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubrangeType(turingParser.SubrangeTypeContext)

Visit a parse tree produced by subrangeType().

Declaration
Result VisitSubrangeType(turingParser.SubrangeTypeContext context)
Parameters
Type Name Description
turingParser.SubrangeTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubstring(turingParser.SubstringContext)

Visit a parse tree produced by substring().

Declaration
Result VisitSubstring(turingParser.SubstringContext context)
Parameters
Type Name Description
turingParser.SubstringContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubstringPosition(turingParser.SubstringPositionContext)

Visit a parse tree produced by substringPosition().

Declaration
Result VisitSubstringPosition(turingParser.SubstringPositionContext context)
Parameters
Type Name Description
turingParser.SubstringPositionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypeDeclaration(turingParser.TypeDeclarationContext)

Visit a parse tree produced by typeDeclaration().

Declaration
Result VisitTypeDeclaration(turingParser.TypeDeclarationContext context)
Parameters
Type Name Description
turingParser.TypeDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypeSpec(turingParser.TypeSpecContext)

Visit a parse tree produced by typeSpec().

Declaration
Result VisitTypeSpec(turingParser.TypeSpecContext context)
Parameters
Type Name Description
turingParser.TypeSpecContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariableDeclaration(turingParser.VariableDeclarationContext)

Visit a parse tree produced by variableDeclaration().

Declaration
Result VisitVariableDeclaration(turingParser.VariableDeclarationContext context)
Parameters
Type Name Description
turingParser.VariableDeclarationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariableReference(turingParser.VariableReferenceContext)

Visit a parse tree produced by variableReference().

Declaration
Result VisitVariableReference(turingParser.VariableReferenceContext context)
Parameters
Type Name Description
turingParser.VariableReferenceContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWidthExpn(turingParser.WidthExpnContext)

Visit a parse tree produced by widthExpn().

Declaration
Result VisitWidthExpn(turingParser.WidthExpnContext context)
Parameters
Type Name Description
turingParser.WidthExpnContext context

The parse tree.

Returns
Type Description
Result
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX