Class LuaParser
Inheritance
System.Object
LuaParser
Assembly: Lua.dll
Syntax
public class LuaParser : Parser
Constructors
|
Improve this Doc
View Source
LuaParser(ITokenStream)
Declaration
public LuaParser(ITokenStream input)
Parameters
Type |
Name |
Description |
ITokenStream |
input |
|
|
Improve this Doc
View Source
LuaParser(ITokenStream, TextWriter, TextWriter)
Declaration
public LuaParser(ITokenStream input, TextWriter output, TextWriter errorOutput)
Parameters
Type |
Name |
Description |
ITokenStream |
input |
|
TextWriter |
output |
|
TextWriter |
errorOutput |
|
Fields
|
Improve this Doc
View Source
_ATN
Declaration
public static readonly ATN _ATN
Field Value
|
Improve this Doc
View Source
CHARSTRING
Declaration
public const int CHARSTRING = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int COMMENT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
decisionToDFA
Declaration
protected static Antlr4.Runtime.Dfa.DFA[] decisionToDFA
Field Value
Type |
Description |
Antlr4.Runtime.Dfa.DFA[] |
|
|
Improve this Doc
View Source
DefaultVocabulary
Declaration
public static readonly IVocabulary DefaultVocabulary
Field Value
Type |
Description |
IVocabulary |
|
|
Improve this Doc
View Source
FLOAT
Declaration
public const int FLOAT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
HEX
Declaration
public const int HEX = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
HEX_FLOAT
Declaration
public const int HEX_FLOAT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
INT
Declaration
public const int INT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int LINE_COMMENT = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LONGSTRING
Declaration
public const int LONGSTRING = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NAME
Declaration
public const int NAME = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NORMALSTRING
Declaration
public const int NORMALSTRING = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_args
Declaration
public const int RULE_args = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_attnamelist
Declaration
public const int RULE_attnamelist = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_attrib
Declaration
public const int RULE_attrib = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_block
Declaration
public const int RULE_block = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_chunk
Declaration
public const int RULE_chunk = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_exp
Declaration
public const int RULE_exp = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_explist
Declaration
public const int RULE_explist = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_field
Declaration
public const int RULE_field = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_fieldlist
Declaration
public const int RULE_fieldlist = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_fieldsep
Declaration
public const int RULE_fieldsep = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_funcbody
Declaration
public const int RULE_funcbody = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_funcname
Declaration
public const int RULE_funcname = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_functioncall
Declaration
public const int RULE_functioncall = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_functiondef
Declaration
public const int RULE_functiondef = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_label
Declaration
public const int RULE_label = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_nameAndArgs
Declaration
public const int RULE_nameAndArgs = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_namelist
Declaration
public const int RULE_namelist = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_number
Declaration
public const int RULE_number = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorAddSub
Declaration
public const int RULE_operatorAddSub = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorAnd
Declaration
public const int RULE_operatorAnd = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorBitwise
Declaration
public const int RULE_operatorBitwise = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorComparison
Declaration
public const int RULE_operatorComparison = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorMulDivMod
Declaration
public const int RULE_operatorMulDivMod = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorOr
Declaration
public const int RULE_operatorOr = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorPower
Declaration
public const int RULE_operatorPower = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorStrcat
Declaration
public const int RULE_operatorStrcat = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_operatorUnary
Declaration
public const int RULE_operatorUnary = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_parlist
Declaration
public const int RULE_parlist = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_prefixexp
Declaration
public const int RULE_prefixexp = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_retstat
Declaration
public const int RULE_retstat = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_stat
Declaration
public const int RULE_stat = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_string
Declaration
public const int RULE_string = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_tableconstructor
Declaration
public const int RULE_tableconstructor = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_var_
Declaration
public const int RULE_var_ = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_varlist
Declaration
public const int RULE_varlist = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_varOrExp
Declaration
public const int RULE_varOrExp = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RULE_varSuffix
Declaration
public const int RULE_varSuffix = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ruleNames
Declaration
public static readonly string[] ruleNames
Field Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
sharedContextCache
Declaration
protected static PredictionContextCache sharedContextCache
Field Value
Type |
Description |
PredictionContextCache |
|
|
Improve this Doc
View Source
SHEBANG
Declaration
public const int SHEBANG = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__0
Declaration
public const int T__0 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__1
Declaration
public const int T__1 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__10
Declaration
public const int T__10 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__11
Declaration
public const int T__11 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__12
Declaration
public const int T__12 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__13
Declaration
public const int T__13 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__14
Declaration
public const int T__14 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__15
Declaration
public const int T__15 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__16
Declaration
public const int T__16 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__17
Declaration
public const int T__17 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__18
Declaration
public const int T__18 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__19
Declaration
public const int T__19 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__2
Declaration
public const int T__2 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__20
Declaration
public const int T__20 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__21
Declaration
public const int T__21 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__22
Declaration
public const int T__22 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__23
Declaration
public const int T__23 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__24
Declaration
public const int T__24 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__25
Declaration
public const int T__25 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__26
Declaration
public const int T__26 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__27
Declaration
public const int T__27 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__28
Declaration
public const int T__28 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__29
Declaration
public const int T__29 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__3
Declaration
public const int T__3 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__30
Declaration
public const int T__30 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__31
Declaration
public const int T__31 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__32
Declaration
public const int T__32 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__33
Declaration
public const int T__33 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__34
Declaration
public const int T__34 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__35
Declaration
public const int T__35 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__36
Declaration
public const int T__36 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__37
Declaration
public const int T__37 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__38
Declaration
public const int T__38 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__39
Declaration
public const int T__39 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__4
Declaration
public const int T__4 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__40
Declaration
public const int T__40 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__41
Declaration
public const int T__41 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__42
Declaration
public const int T__42 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__43
Declaration
public const int T__43 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__44
Declaration
public const int T__44 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__45
Declaration
public const int T__45 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__46
Declaration
public const int T__46 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__47
Declaration
public const int T__47 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__48
Declaration
public const int T__48 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__49
Declaration
public const int T__49 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__5
Declaration
public const int T__5 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__50
Declaration
public const int T__50 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__51
Declaration
public const int T__51 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__52
Declaration
public const int T__52 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__53
Declaration
public const int T__53 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__54
Declaration
public const int T__54 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__6
Declaration
public const int T__6 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__7
Declaration
public const int T__7 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__8
Declaration
public const int T__8 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
T__9
Declaration
public const int T__9 = null
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
WS
Declaration
public const int WS = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
GrammarFileName
Declaration
public override string GrammarFileName { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RuleNames
Declaration
public override string[] RuleNames { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
SerializedAtn
Declaration
public override string SerializedAtn { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vocabulary
Declaration
public override IVocabulary Vocabulary { get; }
Property Value
Type |
Description |
IVocabulary |
|
Methods
|
Improve this Doc
View Source
args()
Declaration
public LuaParser.ArgsContext args()
Returns
|
Improve this Doc
View Source
attnamelist()
Declaration
public LuaParser.AttnamelistContext attnamelist()
Returns
|
Improve this Doc
View Source
attrib()
Declaration
public LuaParser.AttribContext attrib()
Returns
|
Improve this Doc
View Source
block()
Declaration
public LuaParser.BlockContext block()
Returns
|
Improve this Doc
View Source
chunk()
Declaration
public LuaParser.ChunkContext chunk()
Returns
|
Improve this Doc
View Source
exp()
Declaration
public LuaParser.ExpContext exp()
Returns
|
Improve this Doc
View Source
explist()
Declaration
public LuaParser.ExplistContext explist()
Returns
|
Improve this Doc
View Source
field()
Declaration
public LuaParser.FieldContext field()
Returns
|
Improve this Doc
View Source
fieldlist()
Declaration
public LuaParser.FieldlistContext fieldlist()
Returns
|
Improve this Doc
View Source
fieldsep()
Declaration
public LuaParser.FieldsepContext fieldsep()
Returns
|
Improve this Doc
View Source
funcbody()
Declaration
public LuaParser.FuncbodyContext funcbody()
Returns
|
Improve this Doc
View Source
funcname()
Declaration
public LuaParser.FuncnameContext funcname()
Returns
|
Improve this Doc
View Source
functioncall()
Declaration
public LuaParser.FunctioncallContext functioncall()
Returns
|
Improve this Doc
View Source
functiondef()
Declaration
public LuaParser.FunctiondefContext functiondef()
Returns
|
Improve this Doc
View Source
label()
Declaration
public LuaParser.LabelContext label()
Returns
|
Improve this Doc
View Source
nameAndArgs()
Declaration
public LuaParser.NameAndArgsContext nameAndArgs()
Returns
|
Improve this Doc
View Source
namelist()
Declaration
public LuaParser.NamelistContext namelist()
Returns
|
Improve this Doc
View Source
number()
Declaration
public LuaParser.NumberContext number()
Returns
|
Improve this Doc
View Source
operatorAddSub()
Declaration
public LuaParser.OperatorAddSubContext operatorAddSub()
Returns
|
Improve this Doc
View Source
operatorAnd()
Declaration
public LuaParser.OperatorAndContext operatorAnd()
Returns
|
Improve this Doc
View Source
operatorBitwise()
Declaration
public LuaParser.OperatorBitwiseContext operatorBitwise()
Returns
|
Improve this Doc
View Source
operatorComparison()
Declaration
public LuaParser.OperatorComparisonContext operatorComparison()
Returns
|
Improve this Doc
View Source
operatorMulDivMod()
Declaration
public LuaParser.OperatorMulDivModContext operatorMulDivMod()
Returns
|
Improve this Doc
View Source
operatorOr()
Declaration
public LuaParser.OperatorOrContext operatorOr()
Returns
|
Improve this Doc
View Source
operatorPower()
Declaration
public LuaParser.OperatorPowerContext operatorPower()
Returns
|
Improve this Doc
View Source
operatorStrcat()
Declaration
public LuaParser.OperatorStrcatContext operatorStrcat()
Returns
|
Improve this Doc
View Source
operatorUnary()
Declaration
public LuaParser.OperatorUnaryContext operatorUnary()
Returns
|
Improve this Doc
View Source
parlist()
Declaration
public LuaParser.ParlistContext parlist()
Returns
|
Improve this Doc
View Source
prefixexp()
Declaration
public LuaParser.PrefixexpContext prefixexp()
Returns
|
Improve this Doc
View Source
retstat()
Declaration
public LuaParser.RetstatContext retstat()
Returns
|
Improve this Doc
View Source
Sempred(RuleContext, Int32, Int32)
Declaration
public override bool Sempred(RuleContext _localctx, int ruleIndex, int predIndex)
Parameters
Type |
Name |
Description |
RuleContext |
_localctx |
|
System.Int32 |
ruleIndex |
|
System.Int32 |
predIndex |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
stat()
Declaration
public LuaParser.StatContext stat()
Returns
|
Improve this Doc
View Source
string()
Declaration
public LuaParser.StringContext string()
Returns
|
Improve this Doc
View Source
tableconstructor()
Declaration
public LuaParser.TableconstructorContext tableconstructor()
Returns
|
Improve this Doc
View Source
var_()
Declaration
public LuaParser.Var_Context var_()
Returns
|
Improve this Doc
View Source
varlist()
Declaration
public LuaParser.VarlistContext varlist()
Returns
|
Improve this Doc
View Source
varOrExp()
Declaration
public LuaParser.VarOrExpContext varOrExp()
Returns
|
Improve this Doc
View Source
varSuffix()
Declaration
public LuaParser.VarSuffixContext varSuffix()
Returns