Show / Hide Table of Contents

Class TealBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitArgs(TealParser.ArgsContext)

Visit a parse tree produced by args().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitArgs(TealParser.ArgsContext context)
Parameters
Type Name Description
TealParser.ArgsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssignField(TealParser.AssignFieldContext)

Visit a parse tree produced by the AssignField labeled alternative in field().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssignField(TealParser.AssignFieldContext context)
Parameters
Type Name Description
TealParser.AssignFieldContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssignNewTypeField(TealParser.AssignNewTypeFieldContext)

Visit a parse tree produced by the AssignNewTypeField labeled alternative in field().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssignNewTypeField(TealParser.AssignNewTypeFieldContext context)
Parameters
Type Name Description
TealParser.AssignNewTypeFieldContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAssignStat(TealParser.AssignStatContext)

Visit a parse tree produced by the AssignStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAssignStat(TealParser.AssignStatContext context)
Parameters
Type Name Description
TealParser.AssignStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAttnamelist(TealParser.AttnamelistContext)

Visit a parse tree produced by attnamelist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAttnamelist(TealParser.AttnamelistContext context)
Parameters
Type Name Description
TealParser.AttnamelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAttrib(TealParser.AttribContext)

Visit a parse tree produced by attrib().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAttrib(TealParser.AttribContext context)
Parameters
Type Name Description
TealParser.AttribContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBasetype(TealParser.BasetypeContext)

Visit a parse tree produced by basetype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBasetype(TealParser.BasetypeContext context)
Parameters
Type Name Description
TealParser.BasetypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBlock(TealParser.BlockContext)

Visit a parse tree produced by block().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBlock(TealParser.BlockContext context)
Parameters
Type Name Description
TealParser.BlockContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBracketAssginField(TealParser.BracketAssginFieldContext)

Visit a parse tree produced by the BracketAssginField labeled alternative in field().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBracketAssginField(TealParser.BracketAssginFieldContext context)
Parameters
Type Name Description
TealParser.BracketAssginFieldContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBreakStat(TealParser.BreakStatContext)

Visit a parse tree produced by the BreakStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBreakStat(TealParser.BreakStatContext context)
Parameters
Type Name Description
TealParser.BreakStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitChunk(TealParser.ChunkContext)

Visit a parse tree produced by chunk().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitChunk(TealParser.ChunkContext context)
Parameters
Type Name Description
TealParser.ChunkContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDoStat(TealParser.DoStatContext)

Visit a parse tree produced by the DoStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDoStat(TealParser.DoStatContext context)
Parameters
Type Name Description
TealParser.DoStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEnumNewType(TealParser.EnumNewTypeContext)

Visit a parse tree produced by the EnumNewType labeled alternative in newtype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEnumNewType(TealParser.EnumNewTypeContext context)
Parameters
Type Name Description
TealParser.EnumNewTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExp(TealParser.ExpContext)

Visit a parse tree produced by exp().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExp(TealParser.ExpContext context)
Parameters
Type Name Description
TealParser.ExpContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExplist(TealParser.ExplistContext)

Visit a parse tree produced by explist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExplist(TealParser.ExplistContext context)
Parameters
Type Name Description
TealParser.ExplistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExprField(TealParser.ExprFieldContext)

Visit a parse tree produced by the ExprField labeled alternative in field().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitExprField(TealParser.ExprFieldContext context)
Parameters
Type Name Description
TealParser.ExprFieldContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFieldlist(TealParser.FieldlistContext)

Visit a parse tree produced by fieldlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFieldlist(TealParser.FieldlistContext context)
Parameters
Type Name Description
TealParser.FieldlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFieldsep(TealParser.FieldsepContext)

Visit a parse tree produced by fieldsep().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFieldsep(TealParser.FieldsepContext context)
Parameters
Type Name Description
TealParser.FieldsepContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitForInStat(TealParser.ForInStatContext)

Visit a parse tree produced by the ForInStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitForInStat(TealParser.ForInStatContext context)
Parameters
Type Name Description
TealParser.ForInStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitForStat(TealParser.ForStatContext)

Visit a parse tree produced by the ForStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitForStat(TealParser.ForStatContext context)
Parameters
Type Name Description
TealParser.ForStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncbody(TealParser.FuncbodyContext)

Visit a parse tree produced by funcbody().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFuncbody(TealParser.FuncbodyContext context)
Parameters
Type Name Description
TealParser.FuncbodyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncCallStat(TealParser.FuncCallStatContext)

Visit a parse tree produced by the FuncCallStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFuncCallStat(TealParser.FuncCallStatContext context)
Parameters
Type Name Description
TealParser.FuncCallStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncname(TealParser.FuncnameContext)

Visit a parse tree produced by funcname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFuncname(TealParser.FuncnameContext context)
Parameters
Type Name Description
TealParser.FuncnameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncNewType(TealParser.FuncNewTypeContext)

Visit a parse tree produced by the FuncNewType labeled alternative in newtype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFuncNewType(TealParser.FuncNewTypeContext context)
Parameters
Type Name Description
TealParser.FuncNewTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncStat(TealParser.FuncStatContext)

Visit a parse tree produced by the FuncStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFuncStat(TealParser.FuncStatContext context)
Parameters
Type Name Description
TealParser.FuncStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctioncall(TealParser.FunctioncallContext)

Visit a parse tree produced by functioncall().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctioncall(TealParser.FunctioncallContext context)
Parameters
Type Name Description
TealParser.FunctioncallContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctiondef(TealParser.FunctiondefContext)

Visit a parse tree produced by functiondef().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctiondef(TealParser.FunctiondefContext context)
Parameters
Type Name Description
TealParser.FunctiondefContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctiontype(TealParser.FunctiontypeContext)

Visit a parse tree produced by functiontype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitFunctiontype(TealParser.FunctiontypeContext context)
Parameters
Type Name Description
TealParser.FunctiontypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGlobalAssignStat(TealParser.GlobalAssignStatContext)

Visit a parse tree produced by the GlobalAssignStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGlobalAssignStat(TealParser.GlobalAssignStatContext context)
Parameters
Type Name Description
TealParser.GlobalAssignStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGlobalAttrAssignStat(TealParser.GlobalAttrAssignStatContext)

Visit a parse tree produced by the GlobalAttrAssignStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGlobalAttrAssignStat(TealParser.GlobalAttrAssignStatContext context)
Parameters
Type Name Description
TealParser.GlobalAttrAssignStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGlobalAttrStat(TealParser.GlobalAttrStatContext)

Visit a parse tree produced by the GlobalAttrStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGlobalAttrStat(TealParser.GlobalAttrStatContext context)
Parameters
Type Name Description
TealParser.GlobalAttrStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGlobalFuncStat(TealParser.GlobalFuncStatContext)

Visit a parse tree produced by the GlobalFuncStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGlobalFuncStat(TealParser.GlobalFuncStatContext context)
Parameters
Type Name Description
TealParser.GlobalFuncStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGotoStat(TealParser.GotoStatContext)

Visit a parse tree produced by the GotoStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGotoStat(TealParser.GotoStatContext context)
Parameters
Type Name Description
TealParser.GotoStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitIfStat(TealParser.IfStatContext)

Visit a parse tree produced by the IfStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitIfStat(TealParser.IfStatContext context)
Parameters
Type Name Description
TealParser.IfStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLabel(TealParser.LabelContext)

Visit a parse tree produced by label().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLabel(TealParser.LabelContext context)
Parameters
Type Name Description
TealParser.LabelContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLabelStat(TealParser.LabelStatContext)

Visit a parse tree produced by the LabelStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLabelStat(TealParser.LabelStatContext context)
Parameters
Type Name Description
TealParser.LabelStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLocalAttrAssignStat(TealParser.LocalAttrAssignStatContext)

Visit a parse tree produced by the LocalAttrAssignStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLocalAttrAssignStat(TealParser.LocalAttrAssignStatContext context)
Parameters
Type Name Description
TealParser.LocalAttrAssignStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLocalFuncStat(TealParser.LocalFuncStatContext)

Visit a parse tree produced by the LocalFuncStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLocalFuncStat(TealParser.LocalFuncStatContext context)
Parameters
Type Name Description
TealParser.LocalFuncStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLocalNewTypeStat(TealParser.LocalNewTypeStatContext)

Visit a parse tree produced by the LocalNewTypeStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLocalNewTypeStat(TealParser.LocalNewTypeStatContext context)
Parameters
Type Name Description
TealParser.LocalNewTypeStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNameAndArgs(TealParser.NameAndArgsContext)

Visit a parse tree produced by nameAndArgs().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNameAndArgs(TealParser.NameAndArgsContext context)
Parameters
Type Name Description
TealParser.NameAndArgsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNamelist(TealParser.NamelistContext)

Visit a parse tree produced by namelist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNamelist(TealParser.NamelistContext context)
Parameters
Type Name Description
TealParser.NamelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNumber(TealParser.NumberContext)

Visit a parse tree produced by number().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNumber(TealParser.NumberContext context)
Parameters
Type Name Description
TealParser.NumberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorAddSub(TealParser.OperatorAddSubContext)

Visit a parse tree produced by operatorAddSub().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorAddSub(TealParser.OperatorAddSubContext context)
Parameters
Type Name Description
TealParser.OperatorAddSubContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorAnd(TealParser.OperatorAndContext)

Visit a parse tree produced by operatorAnd().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorAnd(TealParser.OperatorAndContext context)
Parameters
Type Name Description
TealParser.OperatorAndContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorBitwise(TealParser.OperatorBitwiseContext)

Visit a parse tree produced by operatorBitwise().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorBitwise(TealParser.OperatorBitwiseContext context)
Parameters
Type Name Description
TealParser.OperatorBitwiseContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorComparison(TealParser.OperatorComparisonContext)

Visit a parse tree produced by operatorComparison().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorComparison(TealParser.OperatorComparisonContext context)
Parameters
Type Name Description
TealParser.OperatorComparisonContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorMulDivMod(TealParser.OperatorMulDivModContext)

Visit a parse tree produced by operatorMulDivMod().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorMulDivMod(TealParser.OperatorMulDivModContext context)
Parameters
Type Name Description
TealParser.OperatorMulDivModContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorOr(TealParser.OperatorOrContext)

Visit a parse tree produced by operatorOr().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorOr(TealParser.OperatorOrContext context)
Parameters
Type Name Description
TealParser.OperatorOrContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorPower(TealParser.OperatorPowerContext)

Visit a parse tree produced by operatorPower().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorPower(TealParser.OperatorPowerContext context)
Parameters
Type Name Description
TealParser.OperatorPowerContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorStrcat(TealParser.OperatorStrcatContext)

Visit a parse tree produced by operatorStrcat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorStrcat(TealParser.OperatorStrcatContext context)
Parameters
Type Name Description
TealParser.OperatorStrcatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorUnary(TealParser.OperatorUnaryContext)

Visit a parse tree produced by operatorUnary().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitOperatorUnary(TealParser.OperatorUnaryContext context)
Parameters
Type Name Description
TealParser.OperatorUnaryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParlist(TealParser.ParlistContext)

Visit a parse tree produced by parlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitParlist(TealParser.ParlistContext context)
Parameters
Type Name Description
TealParser.ParlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParname(TealParser.ParnameContext)

Visit a parse tree produced by parname().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitParname(TealParser.ParnameContext context)
Parameters
Type Name Description
TealParser.ParnameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParnamelist(TealParser.ParnamelistContext)

Visit a parse tree produced by parnamelist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitParnamelist(TealParser.ParnamelistContext context)
Parameters
Type Name Description
TealParser.ParnamelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPartype(TealParser.PartypeContext)

Visit a parse tree produced by partype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPartype(TealParser.PartypeContext context)
Parameters
Type Name Description
TealParser.PartypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPartypelist(TealParser.PartypelistContext)

Visit a parse tree produced by partypelist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPartypelist(TealParser.PartypelistContext context)
Parameters
Type Name Description
TealParser.PartypelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPrefixexp(TealParser.PrefixexpContext)

Visit a parse tree produced by prefixexp().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPrefixexp(TealParser.PrefixexpContext context)
Parameters
Type Name Description
TealParser.PrefixexpContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRecordNewType(TealParser.RecordNewTypeContext)

Visit a parse tree produced by the RecordNewType labeled alternative in newtype().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRecordNewType(TealParser.RecordNewTypeContext context)
Parameters
Type Name Description
TealParser.RecordNewTypeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRepeatStat(TealParser.RepeatStatContext)

Visit a parse tree produced by the RepeatStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRepeatStat(TealParser.RepeatStatContext context)
Parameters
Type Name Description
TealParser.RepeatStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRetlist(TealParser.RetlistContext)

Visit a parse tree produced by retlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRetlist(TealParser.RetlistContext context)
Parameters
Type Name Description
TealParser.RetlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitReturnStat(TealParser.ReturnStatContext)

Visit a parse tree produced by the ReturnStat labeled alternative in retstat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitReturnStat(TealParser.ReturnStatContext context)
Parameters
Type Name Description
TealParser.ReturnStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSemiStat(TealParser.SemiStatContext)

Visit a parse tree produced by the SemiStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSemiStat(TealParser.SemiStatContext context)
Parameters
Type Name Description
TealParser.SemiStatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStr(TealParser.StrContext)

Visit a parse tree produced by str().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStr(TealParser.StrContext context)
Parameters
Type Name Description
TealParser.StrContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTableconstructor(TealParser.TableconstructorContext)

Visit a parse tree produced by tableconstructor().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTableconstructor(TealParser.TableconstructorContext context)
Parameters
Type Name Description
TealParser.TableconstructorContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTyp(TealParser.TypContext)

Visit a parse tree produced by typ().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTyp(TealParser.TypContext context)
Parameters
Type Name Description
TealParser.TypContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypeargs(TealParser.TypeargsContext)

Visit a parse tree produced by typeargs().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypeargs(TealParser.TypeargsContext context)
Parameters
Type Name Description
TealParser.TypeargsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTypelist(TealParser.TypelistContext)

Visit a parse tree produced by typelist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTypelist(TealParser.TypelistContext context)
Parameters
Type Name Description
TealParser.TypelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariable(TealParser.VariableContext)

Visit a parse tree produced by variable().

The default implementation returns the result of calling on context.

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVarlist(TealParser.VarlistContext)

Visit a parse tree produced by varlist().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVarlist(TealParser.VarlistContext context)
Parameters
Type Name Description
TealParser.VarlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVarOrExp(TealParser.VarOrExpContext)

Visit a parse tree produced by varOrExp().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVarOrExp(TealParser.VarOrExpContext context)
Parameters
Type Name Description
TealParser.VarOrExpContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVarSuffix(TealParser.VarSuffixContext)

Visit a parse tree produced by varSuffix().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitVarSuffix(TealParser.VarSuffixContext context)
Parameters
Type Name Description
TealParser.VarSuffixContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitWhileStat(TealParser.WhileStatContext)

Visit a parse tree produced by the WhileStat labeled alternative in stat().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitWhileStat(TealParser.WhileStatContext context)
Parameters
Type Name Description
TealParser.WhileStatContext context

The parse tree.

Returns
Type Description
Result

Implements

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