Interface ILuaListener
This interface defines a complete listener for a parse tree produced by LuaParser.
Namespace: GCore.Antlr.Grammers.Lua
Assembly: Lua.dll
Syntax
public interface ILuaListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterArgs(LuaParser.ArgsContext)
Enter a parse tree produced by args().
Declaration
void EnterArgs(LuaParser.ArgsContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ArgsContext | context | The parse tree. |
EnterAttnamelist(LuaParser.AttnamelistContext)
Enter a parse tree produced by attnamelist().
Declaration
void EnterAttnamelist(LuaParser.AttnamelistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.AttnamelistContext | context | The parse tree. |
EnterAttrib(LuaParser.AttribContext)
Enter a parse tree produced by attrib().
Declaration
void EnterAttrib(LuaParser.AttribContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.AttribContext | context | The parse tree. |
EnterBlock(LuaParser.BlockContext)
Enter a parse tree produced by block().
Declaration
void EnterBlock(LuaParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.BlockContext | context | The parse tree. |
EnterChunk(LuaParser.ChunkContext)
Enter a parse tree produced by chunk().
Declaration
void EnterChunk(LuaParser.ChunkContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ChunkContext | context | The parse tree. |
EnterExp(LuaParser.ExpContext)
Enter a parse tree produced by exp().
Declaration
void EnterExp(LuaParser.ExpContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ExpContext | context | The parse tree. |
EnterExplist(LuaParser.ExplistContext)
Enter a parse tree produced by explist().
Declaration
void EnterExplist(LuaParser.ExplistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ExplistContext | context | The parse tree. |
EnterField(LuaParser.FieldContext)
Enter a parse tree produced by field().
Declaration
void EnterField(LuaParser.FieldContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FieldContext | context | The parse tree. |
EnterFieldlist(LuaParser.FieldlistContext)
Enter a parse tree produced by fieldlist().
Declaration
void EnterFieldlist(LuaParser.FieldlistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FieldlistContext | context | The parse tree. |
EnterFieldsep(LuaParser.FieldsepContext)
Enter a parse tree produced by fieldsep().
Declaration
void EnterFieldsep(LuaParser.FieldsepContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FieldsepContext | context | The parse tree. |
EnterFuncbody(LuaParser.FuncbodyContext)
Enter a parse tree produced by funcbody().
Declaration
void EnterFuncbody(LuaParser.FuncbodyContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FuncbodyContext | context | The parse tree. |
EnterFuncname(LuaParser.FuncnameContext)
Enter a parse tree produced by funcname().
Declaration
void EnterFuncname(LuaParser.FuncnameContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FuncnameContext | context | The parse tree. |
EnterFunctioncall(LuaParser.FunctioncallContext)
Enter a parse tree produced by functioncall().
Declaration
void EnterFunctioncall(LuaParser.FunctioncallContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FunctioncallContext | context | The parse tree. |
EnterFunctiondef(LuaParser.FunctiondefContext)
Enter a parse tree produced by functiondef().
Declaration
void EnterFunctiondef(LuaParser.FunctiondefContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FunctiondefContext | context | The parse tree. |
EnterLabel(LuaParser.LabelContext)
Enter a parse tree produced by label().
Declaration
void EnterLabel(LuaParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.LabelContext | context | The parse tree. |
EnterNameAndArgs(LuaParser.NameAndArgsContext)
Enter a parse tree produced by nameAndArgs().
Declaration
void EnterNameAndArgs(LuaParser.NameAndArgsContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.NameAndArgsContext | context | The parse tree. |
EnterNamelist(LuaParser.NamelistContext)
Enter a parse tree produced by namelist().
Declaration
void EnterNamelist(LuaParser.NamelistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.NamelistContext | context | The parse tree. |
EnterNumber(LuaParser.NumberContext)
Enter a parse tree produced by number().
Declaration
void EnterNumber(LuaParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.NumberContext | context | The parse tree. |
EnterOperatorAddSub(LuaParser.OperatorAddSubContext)
Enter a parse tree produced by operatorAddSub().
Declaration
void EnterOperatorAddSub(LuaParser.OperatorAddSubContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorAddSubContext | context | The parse tree. |
EnterOperatorAnd(LuaParser.OperatorAndContext)
Enter a parse tree produced by operatorAnd().
Declaration
void EnterOperatorAnd(LuaParser.OperatorAndContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorAndContext | context | The parse tree. |
EnterOperatorBitwise(LuaParser.OperatorBitwiseContext)
Enter a parse tree produced by operatorBitwise().
Declaration
void EnterOperatorBitwise(LuaParser.OperatorBitwiseContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorBitwiseContext | context | The parse tree. |
EnterOperatorComparison(LuaParser.OperatorComparisonContext)
Enter a parse tree produced by operatorComparison().
Declaration
void EnterOperatorComparison(LuaParser.OperatorComparisonContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorComparisonContext | context | The parse tree. |
EnterOperatorMulDivMod(LuaParser.OperatorMulDivModContext)
Enter a parse tree produced by operatorMulDivMod().
Declaration
void EnterOperatorMulDivMod(LuaParser.OperatorMulDivModContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorMulDivModContext | context | The parse tree. |
EnterOperatorOr(LuaParser.OperatorOrContext)
Enter a parse tree produced by operatorOr().
Declaration
void EnterOperatorOr(LuaParser.OperatorOrContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorOrContext | context | The parse tree. |
EnterOperatorPower(LuaParser.OperatorPowerContext)
Enter a parse tree produced by operatorPower().
Declaration
void EnterOperatorPower(LuaParser.OperatorPowerContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorPowerContext | context | The parse tree. |
EnterOperatorStrcat(LuaParser.OperatorStrcatContext)
Enter a parse tree produced by operatorStrcat().
Declaration
void EnterOperatorStrcat(LuaParser.OperatorStrcatContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorStrcatContext | context | The parse tree. |
EnterOperatorUnary(LuaParser.OperatorUnaryContext)
Enter a parse tree produced by operatorUnary().
Declaration
void EnterOperatorUnary(LuaParser.OperatorUnaryContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorUnaryContext | context | The parse tree. |
EnterParlist(LuaParser.ParlistContext)
Enter a parse tree produced by parlist().
Declaration
void EnterParlist(LuaParser.ParlistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ParlistContext | context | The parse tree. |
EnterPrefixexp(LuaParser.PrefixexpContext)
Enter a parse tree produced by prefixexp().
Declaration
void EnterPrefixexp(LuaParser.PrefixexpContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.PrefixexpContext | context | The parse tree. |
EnterRetstat(LuaParser.RetstatContext)
Enter a parse tree produced by retstat().
Declaration
void EnterRetstat(LuaParser.RetstatContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.RetstatContext | context | The parse tree. |
EnterStat(LuaParser.StatContext)
Enter a parse tree produced by stat().
Declaration
void EnterStat(LuaParser.StatContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.StatContext | context | The parse tree. |
EnterString(LuaParser.StringContext)
Enter a parse tree produced by
Declaration
void EnterString(LuaParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.StringContext | context | The parse tree. |
EnterTableconstructor(LuaParser.TableconstructorContext)
Enter a parse tree produced by tableconstructor().
Declaration
void EnterTableconstructor(LuaParser.TableconstructorContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.TableconstructorContext | context | The parse tree. |
EnterVar_(LuaParser.Var_Context)
Enter a parse tree produced by var_().
Declaration
void EnterVar_(LuaParser.Var_Context context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.Var_Context | context | The parse tree. |
EnterVarlist(LuaParser.VarlistContext)
Enter a parse tree produced by varlist().
Declaration
void EnterVarlist(LuaParser.VarlistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.VarlistContext | context | The parse tree. |
EnterVarOrExp(LuaParser.VarOrExpContext)
Enter a parse tree produced by varOrExp().
Declaration
void EnterVarOrExp(LuaParser.VarOrExpContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.VarOrExpContext | context | The parse tree. |
EnterVarSuffix(LuaParser.VarSuffixContext)
Enter a parse tree produced by varSuffix().
Declaration
void EnterVarSuffix(LuaParser.VarSuffixContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.VarSuffixContext | context | The parse tree. |
ExitArgs(LuaParser.ArgsContext)
Exit a parse tree produced by args().
Declaration
void ExitArgs(LuaParser.ArgsContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ArgsContext | context | The parse tree. |
ExitAttnamelist(LuaParser.AttnamelistContext)
Exit a parse tree produced by attnamelist().
Declaration
void ExitAttnamelist(LuaParser.AttnamelistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.AttnamelistContext | context | The parse tree. |
ExitAttrib(LuaParser.AttribContext)
Exit a parse tree produced by attrib().
Declaration
void ExitAttrib(LuaParser.AttribContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.AttribContext | context | The parse tree. |
ExitBlock(LuaParser.BlockContext)
Exit a parse tree produced by block().
Declaration
void ExitBlock(LuaParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.BlockContext | context | The parse tree. |
ExitChunk(LuaParser.ChunkContext)
Exit a parse tree produced by chunk().
Declaration
void ExitChunk(LuaParser.ChunkContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ChunkContext | context | The parse tree. |
ExitExp(LuaParser.ExpContext)
Exit a parse tree produced by exp().
Declaration
void ExitExp(LuaParser.ExpContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ExpContext | context | The parse tree. |
ExitExplist(LuaParser.ExplistContext)
Exit a parse tree produced by explist().
Declaration
void ExitExplist(LuaParser.ExplistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ExplistContext | context | The parse tree. |
ExitField(LuaParser.FieldContext)
Exit a parse tree produced by field().
Declaration
void ExitField(LuaParser.FieldContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FieldContext | context | The parse tree. |
ExitFieldlist(LuaParser.FieldlistContext)
Exit a parse tree produced by fieldlist().
Declaration
void ExitFieldlist(LuaParser.FieldlistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FieldlistContext | context | The parse tree. |
ExitFieldsep(LuaParser.FieldsepContext)
Exit a parse tree produced by fieldsep().
Declaration
void ExitFieldsep(LuaParser.FieldsepContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FieldsepContext | context | The parse tree. |
ExitFuncbody(LuaParser.FuncbodyContext)
Exit a parse tree produced by funcbody().
Declaration
void ExitFuncbody(LuaParser.FuncbodyContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FuncbodyContext | context | The parse tree. |
ExitFuncname(LuaParser.FuncnameContext)
Exit a parse tree produced by funcname().
Declaration
void ExitFuncname(LuaParser.FuncnameContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FuncnameContext | context | The parse tree. |
ExitFunctioncall(LuaParser.FunctioncallContext)
Exit a parse tree produced by functioncall().
Declaration
void ExitFunctioncall(LuaParser.FunctioncallContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FunctioncallContext | context | The parse tree. |
ExitFunctiondef(LuaParser.FunctiondefContext)
Exit a parse tree produced by functiondef().
Declaration
void ExitFunctiondef(LuaParser.FunctiondefContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.FunctiondefContext | context | The parse tree. |
ExitLabel(LuaParser.LabelContext)
Exit a parse tree produced by label().
Declaration
void ExitLabel(LuaParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.LabelContext | context | The parse tree. |
ExitNameAndArgs(LuaParser.NameAndArgsContext)
Exit a parse tree produced by nameAndArgs().
Declaration
void ExitNameAndArgs(LuaParser.NameAndArgsContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.NameAndArgsContext | context | The parse tree. |
ExitNamelist(LuaParser.NamelistContext)
Exit a parse tree produced by namelist().
Declaration
void ExitNamelist(LuaParser.NamelistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.NamelistContext | context | The parse tree. |
ExitNumber(LuaParser.NumberContext)
Exit a parse tree produced by number().
Declaration
void ExitNumber(LuaParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.NumberContext | context | The parse tree. |
ExitOperatorAddSub(LuaParser.OperatorAddSubContext)
Exit a parse tree produced by operatorAddSub().
Declaration
void ExitOperatorAddSub(LuaParser.OperatorAddSubContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorAddSubContext | context | The parse tree. |
ExitOperatorAnd(LuaParser.OperatorAndContext)
Exit a parse tree produced by operatorAnd().
Declaration
void ExitOperatorAnd(LuaParser.OperatorAndContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorAndContext | context | The parse tree. |
ExitOperatorBitwise(LuaParser.OperatorBitwiseContext)
Exit a parse tree produced by operatorBitwise().
Declaration
void ExitOperatorBitwise(LuaParser.OperatorBitwiseContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorBitwiseContext | context | The parse tree. |
ExitOperatorComparison(LuaParser.OperatorComparisonContext)
Exit a parse tree produced by operatorComparison().
Declaration
void ExitOperatorComparison(LuaParser.OperatorComparisonContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorComparisonContext | context | The parse tree. |
ExitOperatorMulDivMod(LuaParser.OperatorMulDivModContext)
Exit a parse tree produced by operatorMulDivMod().
Declaration
void ExitOperatorMulDivMod(LuaParser.OperatorMulDivModContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorMulDivModContext | context | The parse tree. |
ExitOperatorOr(LuaParser.OperatorOrContext)
Exit a parse tree produced by operatorOr().
Declaration
void ExitOperatorOr(LuaParser.OperatorOrContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorOrContext | context | The parse tree. |
ExitOperatorPower(LuaParser.OperatorPowerContext)
Exit a parse tree produced by operatorPower().
Declaration
void ExitOperatorPower(LuaParser.OperatorPowerContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorPowerContext | context | The parse tree. |
ExitOperatorStrcat(LuaParser.OperatorStrcatContext)
Exit a parse tree produced by operatorStrcat().
Declaration
void ExitOperatorStrcat(LuaParser.OperatorStrcatContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorStrcatContext | context | The parse tree. |
ExitOperatorUnary(LuaParser.OperatorUnaryContext)
Exit a parse tree produced by operatorUnary().
Declaration
void ExitOperatorUnary(LuaParser.OperatorUnaryContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.OperatorUnaryContext | context | The parse tree. |
ExitParlist(LuaParser.ParlistContext)
Exit a parse tree produced by parlist().
Declaration
void ExitParlist(LuaParser.ParlistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.ParlistContext | context | The parse tree. |
ExitPrefixexp(LuaParser.PrefixexpContext)
Exit a parse tree produced by prefixexp().
Declaration
void ExitPrefixexp(LuaParser.PrefixexpContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.PrefixexpContext | context | The parse tree. |
ExitRetstat(LuaParser.RetstatContext)
Exit a parse tree produced by retstat().
Declaration
void ExitRetstat(LuaParser.RetstatContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.RetstatContext | context | The parse tree. |
ExitStat(LuaParser.StatContext)
Exit a parse tree produced by stat().
Declaration
void ExitStat(LuaParser.StatContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.StatContext | context | The parse tree. |
ExitString(LuaParser.StringContext)
Exit a parse tree produced by
Declaration
void ExitString(LuaParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.StringContext | context | The parse tree. |
ExitTableconstructor(LuaParser.TableconstructorContext)
Exit a parse tree produced by tableconstructor().
Declaration
void ExitTableconstructor(LuaParser.TableconstructorContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.TableconstructorContext | context | The parse tree. |
ExitVar_(LuaParser.Var_Context)
Exit a parse tree produced by var_().
Declaration
void ExitVar_(LuaParser.Var_Context context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.Var_Context | context | The parse tree. |
ExitVarlist(LuaParser.VarlistContext)
Exit a parse tree produced by varlist().
Declaration
void ExitVarlist(LuaParser.VarlistContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.VarlistContext | context | The parse tree. |
ExitVarOrExp(LuaParser.VarOrExpContext)
Exit a parse tree produced by varOrExp().
Declaration
void ExitVarOrExp(LuaParser.VarOrExpContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.VarOrExpContext | context | The parse tree. |
ExitVarSuffix(LuaParser.VarSuffixContext)
Exit a parse tree produced by varSuffix().
Declaration
void ExitVarSuffix(LuaParser.VarSuffixContext context)
Parameters
Type | Name | Description |
---|---|---|
LuaParser.VarSuffixContext | context | The parse tree. |