pub enum Lua {
Show 144 variants
End = 0,
Identifier = 1,
HashBangLine = 2,
Return = 3,
SEMI = 4,
EQ = 5,
COMMA = 6,
COLONCOLON = 7,
BreakStatement = 8,
Goto = 9,
Do = 10,
End2 = 11,
While = 12,
Repeat = 13,
Until = 14,
If = 15,
Then = 16,
Elseif = 17,
Else = 18,
For = 19,
In = 20,
Function = 21,
Local = 22,
Global = 23,
DOT = 24,
COLON = 25,
STAR = 26,
LT = 27,
GT = 28,
Nil = 29,
False = 30,
True = 31,
Number = 32,
DQUOTE = 33,
SQUOTE = 34,
DoublequoteStringContentToken1 = 35,
SinglequoteStringContentToken1 = 36,
EscapeSequence = 37,
VarargExpression = 38,
LPAREN = 39,
RPAREN = 40,
LBRACK = 41,
RBRACK = 42,
LBRACE = 43,
RBRACE = 44,
Or = 45,
And = 46,
LTEQ = 47,
EQEQ = 48,
TILDEEQ = 49,
GTEQ = 50,
PIPE = 51,
TILDE = 52,
AMP = 53,
LTLT = 54,
GTGT = 55,
PLUS = 56,
DASH = 57,
SLASH = 58,
SLASHSLASH = 59,
PERCENT = 60,
DOTDOT = 61,
CARET = 62,
Not = 63,
HASH = 64,
DASHDASH = 65,
CommentContent = 66,
LBRACKLBRACK = 67,
CommentContent2 = 68,
RBRACKRBRACK = 69,
LBRACKLBRACK2 = 70,
StringContent = 71,
RBRACKRBRACK2 = 72,
Chunk = 73,
Block = 74,
Statement = 75,
ReturnStatement = 76,
EmptyStatement = 77,
AssignmentStatement = 78,
VariableList = 79,
ExpressionList = 80,
LabelStatement = 81,
GotoStatement = 82,
DoStatement = 83,
WhileStatement = 84,
RepeatStatement = 85,
IfStatement = 86,
ElseifStatement = 87,
ElseStatement = 88,
ForStatement = 89,
ForGenericClause = 90,
ForNumericClause = 91,
VariableList2 = 92,
Declaration = 93,
FunctionDeclaration = 94,
FunctionDeclaration2 = 95,
FunctionDeclaration3 = 96,
FunctionName = 97,
FunctionNamePrefixExpression = 98,
DotIndexExpression = 99,
MethodIndexExpression = 100,
VariableDeclaration = 101,
VariableDeclaration2 = 102,
AssignmentStatement2 = 103,
VariableList3 = 104,
ImplicitVariableDeclaration = 105,
Attribute = 106,
ExpressionList2 = 107,
Expression = 108,
String = 109,
QuoteString = 110,
DoublequoteStringContent = 111,
SinglequoteStringContent = 112,
BlockString = 113,
FunctionDefinition = 114,
FunctionBody = 115,
Parameters = 116,
ParameterList = 117,
VarargParameter = 118,
PrefixExpression = 119,
Variable = 120,
BracketIndexExpression = 121,
DotIndexExpression2 = 122,
FunctionCall = 123,
MethodIndexExpression2 = 124,
Arguments = 125,
ParenthesizedExpression = 126,
TableConstructor = 127,
FieldList = 128,
FieldSep = 129,
Field = 130,
BinaryExpression = 131,
UnaryExpression = 132,
Comment = 133,
ContextualKeyword = 134,
ChunkRepeat1 = 135,
VariableAssignmentVarlistRepeat1 = 136,
VariableAssignmentExplistRepeat1 = 137,
IfStatementRepeat1 = 138,
NameListRepeat1 = 139,
AttNameListRepeat1 = 140,
ExpressionListRepeat1 = 141,
FieldListRepeat1 = 142,
Error = 143,
}Variants§
End = 0
Identifier = 1
HashBangLine = 2
Return = 3
SEMI = 4
EQ = 5
COMMA = 6
COLONCOLON = 7
BreakStatement = 8
Goto = 9
Do = 10
End2 = 11
While = 12
Repeat = 13
Until = 14
If = 15
Then = 16
Elseif = 17
Else = 18
For = 19
In = 20
Function = 21
Local = 22
Global = 23
DOT = 24
COLON = 25
STAR = 26
LT = 27
GT = 28
Nil = 29
False = 30
True = 31
Number = 32
DQUOTE = 33
SQUOTE = 34
DoublequoteStringContentToken1 = 35
SinglequoteStringContentToken1 = 36
EscapeSequence = 37
VarargExpression = 38
LPAREN = 39
RPAREN = 40
LBRACK = 41
RBRACK = 42
LBRACE = 43
RBRACE = 44
Or = 45
And = 46
LTEQ = 47
EQEQ = 48
TILDEEQ = 49
GTEQ = 50
PIPE = 51
TILDE = 52
AMP = 53
LTLT = 54
GTGT = 55
PLUS = 56
DASH = 57
SLASH = 58
SLASHSLASH = 59
PERCENT = 60
DOTDOT = 61
CARET = 62
Not = 63
HASH = 64
DASHDASH = 65
CommentContent = 66
LBRACKLBRACK = 67
CommentContent2 = 68
RBRACKRBRACK = 69
LBRACKLBRACK2 = 70
StringContent = 71
RBRACKRBRACK2 = 72
Chunk = 73
Block = 74
Statement = 75
ReturnStatement = 76
EmptyStatement = 77
AssignmentStatement = 78
VariableList = 79
ExpressionList = 80
LabelStatement = 81
GotoStatement = 82
DoStatement = 83
WhileStatement = 84
RepeatStatement = 85
IfStatement = 86
ElseifStatement = 87
ElseStatement = 88
ForStatement = 89
ForGenericClause = 90
ForNumericClause = 91
VariableList2 = 92
Declaration = 93
FunctionDeclaration = 94
FunctionDeclaration2 = 95
FunctionDeclaration3 = 96
FunctionName = 97
FunctionNamePrefixExpression = 98
DotIndexExpression = 99
MethodIndexExpression = 100
VariableDeclaration = 101
VariableDeclaration2 = 102
AssignmentStatement2 = 103
VariableList3 = 104
ImplicitVariableDeclaration = 105
Attribute = 106
ExpressionList2 = 107
Expression = 108
String = 109
QuoteString = 110
DoublequoteStringContent = 111
SinglequoteStringContent = 112
BlockString = 113
FunctionDefinition = 114
FunctionBody = 115
Parameters = 116
ParameterList = 117
VarargParameter = 118
PrefixExpression = 119
Variable = 120
BracketIndexExpression = 121
DotIndexExpression2 = 122
FunctionCall = 123
MethodIndexExpression2 = 124
Arguments = 125
ParenthesizedExpression = 126
TableConstructor = 127
FieldList = 128
FieldSep = 129
Field = 130
BinaryExpression = 131
UnaryExpression = 132
Comment = 133
ContextualKeyword = 134
ChunkRepeat1 = 135
VariableAssignmentVarlistRepeat1 = 136
VariableAssignmentExplistRepeat1 = 137
IfStatementRepeat1 = 138
NameListRepeat1 = 139
AttNameListRepeat1 = 140
ExpressionListRepeat1 = 141
FieldListRepeat1 = 142
Error = 143
Trait Implementations§
impl Eq for Lua
Source§impl FromPrimitive for Lua
impl FromPrimitive for Lua
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreimpl StructuralPartialEq for Lua
Auto Trait Implementations§
impl Freeze for Lua
impl RefUnwindSafe for Lua
impl Send for Lua
impl Sync for Lua
impl Unpin for Lua
impl UnsafeUnpin for Lua
impl UnwindSafe for Lua
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.