Show / Hide Table of Contents

Interface ILuaVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitArgs(LuaParser.ArgsContext)

Visit a parse tree produced by args().

Declaration
Result VisitArgs(LuaParser.ArgsContext context)
Parameters
Type Name Description
LuaParser.ArgsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAttnamelist(LuaParser.AttnamelistContext)

Visit a parse tree produced by attnamelist().

Declaration
Result VisitAttnamelist(LuaParser.AttnamelistContext context)
Parameters
Type Name Description
LuaParser.AttnamelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAttrib(LuaParser.AttribContext)

Visit a parse tree produced by attrib().

Declaration
Result VisitAttrib(LuaParser.AttribContext context)
Parameters
Type Name Description
LuaParser.AttribContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBlock(LuaParser.BlockContext)

Visit a parse tree produced by block().

Declaration
Result VisitBlock(LuaParser.BlockContext context)
Parameters
Type Name Description
LuaParser.BlockContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitChunk(LuaParser.ChunkContext)

Visit a parse tree produced by chunk().

Declaration
Result VisitChunk(LuaParser.ChunkContext context)
Parameters
Type Name Description
LuaParser.ChunkContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExp(LuaParser.ExpContext)

Visit a parse tree produced by exp().

Declaration
Result VisitExp(LuaParser.ExpContext context)
Parameters
Type Name Description
LuaParser.ExpContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExplist(LuaParser.ExplistContext)

Visit a parse tree produced by explist().

Declaration
Result VisitExplist(LuaParser.ExplistContext context)
Parameters
Type Name Description
LuaParser.ExplistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitField(LuaParser.FieldContext)

Visit a parse tree produced by field().

Declaration
Result VisitField(LuaParser.FieldContext context)
Parameters
Type Name Description
LuaParser.FieldContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFieldlist(LuaParser.FieldlistContext)

Visit a parse tree produced by fieldlist().

Declaration
Result VisitFieldlist(LuaParser.FieldlistContext context)
Parameters
Type Name Description
LuaParser.FieldlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFieldsep(LuaParser.FieldsepContext)

Visit a parse tree produced by fieldsep().

Declaration
Result VisitFieldsep(LuaParser.FieldsepContext context)
Parameters
Type Name Description
LuaParser.FieldsepContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncbody(LuaParser.FuncbodyContext)

Visit a parse tree produced by funcbody().

Declaration
Result VisitFuncbody(LuaParser.FuncbodyContext context)
Parameters
Type Name Description
LuaParser.FuncbodyContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncname(LuaParser.FuncnameContext)

Visit a parse tree produced by funcname().

Declaration
Result VisitFuncname(LuaParser.FuncnameContext context)
Parameters
Type Name Description
LuaParser.FuncnameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctioncall(LuaParser.FunctioncallContext)

Visit a parse tree produced by functioncall().

Declaration
Result VisitFunctioncall(LuaParser.FunctioncallContext context)
Parameters
Type Name Description
LuaParser.FunctioncallContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunctiondef(LuaParser.FunctiondefContext)

Visit a parse tree produced by functiondef().

Declaration
Result VisitFunctiondef(LuaParser.FunctiondefContext context)
Parameters
Type Name Description
LuaParser.FunctiondefContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLabel(LuaParser.LabelContext)

Visit a parse tree produced by label().

Declaration
Result VisitLabel(LuaParser.LabelContext context)
Parameters
Type Name Description
LuaParser.LabelContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNameAndArgs(LuaParser.NameAndArgsContext)

Visit a parse tree produced by nameAndArgs().

Declaration
Result VisitNameAndArgs(LuaParser.NameAndArgsContext context)
Parameters
Type Name Description
LuaParser.NameAndArgsContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNamelist(LuaParser.NamelistContext)

Visit a parse tree produced by namelist().

Declaration
Result VisitNamelist(LuaParser.NamelistContext context)
Parameters
Type Name Description
LuaParser.NamelistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNumber(LuaParser.NumberContext)

Visit a parse tree produced by number().

Declaration
Result VisitNumber(LuaParser.NumberContext context)
Parameters
Type Name Description
LuaParser.NumberContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorAddSub(LuaParser.OperatorAddSubContext)

Visit a parse tree produced by operatorAddSub().

Declaration
Result VisitOperatorAddSub(LuaParser.OperatorAddSubContext context)
Parameters
Type Name Description
LuaParser.OperatorAddSubContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorAnd(LuaParser.OperatorAndContext)

Visit a parse tree produced by operatorAnd().

Declaration
Result VisitOperatorAnd(LuaParser.OperatorAndContext context)
Parameters
Type Name Description
LuaParser.OperatorAndContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorBitwise(LuaParser.OperatorBitwiseContext)

Visit a parse tree produced by operatorBitwise().

Declaration
Result VisitOperatorBitwise(LuaParser.OperatorBitwiseContext context)
Parameters
Type Name Description
LuaParser.OperatorBitwiseContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorComparison(LuaParser.OperatorComparisonContext)

Visit a parse tree produced by operatorComparison().

Declaration
Result VisitOperatorComparison(LuaParser.OperatorComparisonContext context)
Parameters
Type Name Description
LuaParser.OperatorComparisonContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorMulDivMod(LuaParser.OperatorMulDivModContext)

Visit a parse tree produced by operatorMulDivMod().

Declaration
Result VisitOperatorMulDivMod(LuaParser.OperatorMulDivModContext context)
Parameters
Type Name Description
LuaParser.OperatorMulDivModContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorOr(LuaParser.OperatorOrContext)

Visit a parse tree produced by operatorOr().

Declaration
Result VisitOperatorOr(LuaParser.OperatorOrContext context)
Parameters
Type Name Description
LuaParser.OperatorOrContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorPower(LuaParser.OperatorPowerContext)

Visit a parse tree produced by operatorPower().

Declaration
Result VisitOperatorPower(LuaParser.OperatorPowerContext context)
Parameters
Type Name Description
LuaParser.OperatorPowerContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorStrcat(LuaParser.OperatorStrcatContext)

Visit a parse tree produced by operatorStrcat().

Declaration
Result VisitOperatorStrcat(LuaParser.OperatorStrcatContext context)
Parameters
Type Name Description
LuaParser.OperatorStrcatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitOperatorUnary(LuaParser.OperatorUnaryContext)

Visit a parse tree produced by operatorUnary().

Declaration
Result VisitOperatorUnary(LuaParser.OperatorUnaryContext context)
Parameters
Type Name Description
LuaParser.OperatorUnaryContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitParlist(LuaParser.ParlistContext)

Visit a parse tree produced by parlist().

Declaration
Result VisitParlist(LuaParser.ParlistContext context)
Parameters
Type Name Description
LuaParser.ParlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPrefixexp(LuaParser.PrefixexpContext)

Visit a parse tree produced by prefixexp().

Declaration
Result VisitPrefixexp(LuaParser.PrefixexpContext context)
Parameters
Type Name Description
LuaParser.PrefixexpContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRetstat(LuaParser.RetstatContext)

Visit a parse tree produced by retstat().

Declaration
Result VisitRetstat(LuaParser.RetstatContext context)
Parameters
Type Name Description
LuaParser.RetstatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStat(LuaParser.StatContext)

Visit a parse tree produced by stat().

Declaration
Result VisitStat(LuaParser.StatContext context)
Parameters
Type Name Description
LuaParser.StatContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitString(LuaParser.StringContext)

Visit a parse tree produced by .

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

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTableconstructor(LuaParser.TableconstructorContext)

Visit a parse tree produced by tableconstructor().

Declaration
Result VisitTableconstructor(LuaParser.TableconstructorContext context)
Parameters
Type Name Description
LuaParser.TableconstructorContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVar_(LuaParser.Var_Context)

Visit a parse tree produced by var_().

Declaration
Result VisitVar_(LuaParser.Var_Context context)
Parameters
Type Name Description
LuaParser.Var_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVarlist(LuaParser.VarlistContext)

Visit a parse tree produced by varlist().

Declaration
Result VisitVarlist(LuaParser.VarlistContext context)
Parameters
Type Name Description
LuaParser.VarlistContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVarOrExp(LuaParser.VarOrExpContext)

Visit a parse tree produced by varOrExp().

Declaration
Result VisitVarOrExp(LuaParser.VarOrExpContext context)
Parameters
Type Name Description
LuaParser.VarOrExpContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVarSuffix(LuaParser.VarSuffixContext)

Visit a parse tree produced by varSuffix().

Declaration
Result VisitVarSuffix(LuaParser.VarSuffixContext context)
Parameters
Type Name Description
LuaParser.VarSuffixContext context

The parse tree.

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