pub enum Groovy {
Show 310 variants
End = 0,
Identifier = 1,
SEMI = 2,
Shebang = 3,
COMMA = 4,
COLON = 5,
LBRACE = 6,
RBRACE = 7,
If = 8,
LPAREN = 9,
RPAREN = 10,
Else = 11,
While = 12,
For = 13,
Do = 14,
Return = 15,
Break = 16,
Continue = 17,
Throw = 18,
Yield = 19,
Assert = 20,
Try = 21,
EQ = 22,
Catch = 23,
PIPE = 24,
Finally = 25,
Sealed = 26,
NonDASHsealed = 27,
Class = 28,
Trait = 29,
Interface = 30,
LT = 31,
GT = 32,
Extends = 33,
AMP = 34,
Implements = 35,
Public = 36,
Private = 37,
Protected = 38,
Static = 39,
Final = 40,
Abstract = 41,
Synchronized = 42,
Native = 43,
Transient = 44,
Volatile = 45,
Strictfp = 46,
Permits = 47,
AT = 48,
Def = 49,
LT2 = 50,
Throws = 51,
DOTDOTDOT = 52,
Enum = 53,
Record = 54,
Package = 55,
Import = 56,
DOTSTAR = 57,
As = 58,
DOT = 59,
Var = 60,
Pipeline = 61,
In = 62,
Switch = 63,
Case = 64,
DASHGT = 65,
Default = 66,
MembershipExpressionToken1 = 67,
Instanceof = 68,
InstanceofExpressionToken1 = 69,
New = 70,
LBRACK = 71,
RBRACK = 72,
QMARK = 73,
Super = 74,
QMARKDOT = 75,
QMARKQMARKDOT = 76,
STARDOT = 77,
DOTAMP = 78,
DOTAT = 79,
COLONCOLON = 80,
PLUSPLUS = 81,
DASHDASH = 82,
STAR = 83,
QMARKLBRACK = 84,
STARSTAR = 85,
EQEQGT = 86,
PLUSEQ = 87,
DASHEQ = 88,
STAREQ = 89,
SLASHEQ = 90,
PERCENTEQ = 91,
STARSTAREQ = 92,
LTLTEQ = 93,
GTGTEQ = 94,
GTGTGTEQ = 95,
AMPEQ = 96,
CARETEQ = 97,
PIPEEQ = 98,
QMARKEQ = 99,
QMARKCOLON = 100,
DOTDOT = 101,
DOTDOTLT = 102,
LTDOTDOT = 103,
LTDOTDOTLT = 104,
EQEQEQ = 105,
BANGEQEQ = 106,
LTEQGT = 107,
EQTILDE = 108,
EQEQTILDE = 109,
PLUS = 110,
DASH = 111,
SLASH = 112,
PERCENT = 113,
LTLT = 114,
GTGT = 115,
GTGTGT = 116,
LTEQ = 117,
GTEQ = 118,
EQEQ = 119,
BANGEQ = 120,
CARET = 121,
AMPAMP = 122,
PIPEPIPE = 123,
STARCOLON = 124,
BANG = 125,
TILDE = 126,
True = 127,
False = 128,
NullLiteral = 129,
SLASH2 = 130,
StringFragment = 131,
SingleQuotedString = 132,
TripleSingleQuotedString = 133,
DQUOTE = 134,
DQUOTE2 = 135,
StringFragment2 = 136,
StringFragment3 = 137,
DQUOTEDQUOTEDQUOTE = 138,
DQUOTEDQUOTEDQUOTE2 = 139,
StringFragment4 = 140,
Identifier2 = 141,
DOLLARLBRACE = 142,
DOLLARSLASH = 143,
SLASHDOLLAR = 144,
StringFragment5 = 145,
NumberLiteral = 146,
SlashyStringStart = 147,
LineComment = 148,
BlockComment = 149,
GroovydocComment = 150,
SourceFile = 151,
Statement = 152,
CommandChain = 153,
CommandArgument = 154,
LabeledStatement = 155,
Block = 156,
IfStatement = 157,
WhileStatement = 158,
ForStatement = 159,
DoWhileStatement = 160,
ReturnStatement = 161,
BreakStatement = 162,
ContinueStatement = 163,
ThrowStatement = 164,
YieldStatement = 165,
AssertStatement = 166,
TryStatement = 167,
ResourceSpecification = 168,
Resource = 169,
CatchClause = 170,
CatchFormalParameter = 171,
MultiType = 172,
FinallyClause = 173,
ClassDeclaration = 174,
TraitDeclaration = 175,
InterfaceDeclaration = 176,
TypeParameters = 177,
TypeParameter = 178,
Superclass = 179,
SuperInterfaces = 180,
ExtendsInterfaces = 181,
Modifier = 182,
PermitsClause = 183,
AnnotationTypeDeclaration = 184,
ClassBody = 185,
ClassMember = 186,
ConstructorDeclaration = 187,
StaticInitializer = 188,
FieldDeclaration = 189,
MethodDeclaration = 190,
MethodTypeParameters = 191,
ThrowsClause = 192,
FormalParameters = 193,
FormalParameter = 194,
VarargsType = 195,
EnumDeclaration = 196,
EnumBody = 197,
EnumConstant = 198,
RecordDeclaration = 199,
RecordComponents = 200,
RecordComponent = 201,
PackageDeclaration = 202,
ImportDeclaration = 203,
QualifiedName = 204,
LocalVariableDeclaration = 205,
InitializedDeclarator = 206,
VariableDeclarator = 207,
MultiAssignmentDeclaration = 208,
PipelineStatement = 209,
Annotation = 210,
ForInStatement = 211,
ExpressionStatement = 212,
Expression = 213,
SwitchExpression = 214,
SwitchBlock = 215,
SwitchCase = 216,
SwitchArrowCase = 217,
SwitchDefault = 218,
CastExpression = 219,
CastType = 220,
QualifiedType = 221,
DottedTypeTail = 222,
MembershipExpression = 223,
InstanceofExpression = 224,
ObjectCreationExpression = 225,
ParenthesizedTypeCast = 226,
Type = 227,
QualifiedType2 = 228,
ArrayType = 229,
GenericType = 230,
TypeArguments = 231,
TypeArgument = 232,
Wildcard = 233,
FieldAccess = 234,
SafeNavigationExpression = 235,
SafeChainDotExpression = 236,
SpreadDotExpression = 237,
MethodPointerExpression = 238,
DirectFieldAccessExpression = 239,
PropertyName = 240,
MethodReferenceExpression = 241,
UpdateExpression = 242,
UnaryUpdateExpression = 243,
MethodInvocation = 244,
ArgumentList = 245,
Argument = 246,
SpreadArguments = 247,
SubscriptExpression = 248,
SafeSubscriptExpression = 249,
PowerExpression = 250,
LogicalImplicationExpression = 251,
AssignmentExpression = 252,
TernaryExpression = 253,
ElvisExpression = 254,
RangeExpression = 255,
IdentityExpression = 256,
SpaceshipExpression = 257,
RegexFindExpression = 258,
RegexMatchExpression = 259,
BinaryExpression = 260,
Closure = 261,
ClosureParameters = 262,
ClosureParameter = 263,
ListLiteral = 264,
MapLiteral = 265,
MapEntry = 266,
SpreadMapEntry = 267,
ParenthesizedExpression = 268,
UnaryExpression = 269,
BooleanLiteral = 270,
StringLiteral = 271,
SlashyString = 272,
DoubleQuotedString = 273,
TripleDoubleQuotedString = 274,
GstringDollarInterpolation = 275,
GstringBraceInterpolation = 276,
DollarSlashyString = 277,
SourceFileRepeat1 = 278,
CommandChainRepeat1 = 279,
TryStatementRepeat1 = 280,
ResourceSpecificationRepeat1 = 281,
MultiTypeRepeat1 = 282,
ClassDeclarationRepeat1 = 283,
ClassDeclarationRepeat2 = 284,
TypeParametersRepeat1 = 285,
TypeParameterRepeat1 = 286,
SuperInterfacesRepeat1 = 287,
ClassBodyRepeat1 = 288,
FieldDeclarationRepeat1 = 289,
FormalParametersRepeat1 = 290,
EnumBodyRepeat1 = 291,
RecordComponentsRepeat1 = 292,
QualifiedNameRepeat1 = 293,
LocalVariableDeclarationRepeat1 = 294,
SwitchBlockRepeat1 = 295,
QualifiedTypeRepeat1 = 296,
TypeArgumentsRepeat1 = 297,
ArgumentListRepeat1 = 298,
ClosureParametersRepeat1 = 299,
ListLiteralRepeat1 = 300,
MapLiteralRepeat1 = 301,
SlashyStringRepeat1 = 302,
DoubleQuotedStringRepeat1 = 303,
TripleDoubleQuotedStringRepeat1 = 304,
DollarSlashyStringRepeat1 = 305,
NamedArgument = 306,
QuotedIdentifier = 307,
TypeIdentifier = 308,
Error = 309,
}Variants§
End = 0
Identifier = 1
SEMI = 2
Shebang = 3
COMMA = 4
COLON = 5
LBRACE = 6
RBRACE = 7
If = 8
LPAREN = 9
RPAREN = 10
Else = 11
While = 12
For = 13
Do = 14
Return = 15
Break = 16
Continue = 17
Throw = 18
Yield = 19
Assert = 20
Try = 21
EQ = 22
Catch = 23
PIPE = 24
Finally = 25
Sealed = 26
NonDASHsealed = 27
Class = 28
Trait = 29
Interface = 30
LT = 31
GT = 32
Extends = 33
AMP = 34
Implements = 35
Public = 36
Private = 37
Protected = 38
Static = 39
Final = 40
Abstract = 41
Synchronized = 42
Native = 43
Transient = 44
Volatile = 45
Strictfp = 46
Permits = 47
AT = 48
Def = 49
LT2 = 50
Throws = 51
DOTDOTDOT = 52
Enum = 53
Record = 54
Package = 55
Import = 56
DOTSTAR = 57
As = 58
DOT = 59
Var = 60
Pipeline = 61
In = 62
Switch = 63
Case = 64
DASHGT = 65
Default = 66
MembershipExpressionToken1 = 67
Instanceof = 68
InstanceofExpressionToken1 = 69
New = 70
LBRACK = 71
RBRACK = 72
QMARK = 73
Super = 74
QMARKDOT = 75
QMARKQMARKDOT = 76
STARDOT = 77
DOTAMP = 78
DOTAT = 79
COLONCOLON = 80
PLUSPLUS = 81
DASHDASH = 82
STAR = 83
QMARKLBRACK = 84
STARSTAR = 85
EQEQGT = 86
PLUSEQ = 87
DASHEQ = 88
STAREQ = 89
SLASHEQ = 90
PERCENTEQ = 91
STARSTAREQ = 92
LTLTEQ = 93
GTGTEQ = 94
GTGTGTEQ = 95
AMPEQ = 96
CARETEQ = 97
PIPEEQ = 98
QMARKEQ = 99
QMARKCOLON = 100
DOTDOT = 101
DOTDOTLT = 102
LTDOTDOT = 103
LTDOTDOTLT = 104
EQEQEQ = 105
BANGEQEQ = 106
LTEQGT = 107
EQTILDE = 108
EQEQTILDE = 109
PLUS = 110
DASH = 111
SLASH = 112
PERCENT = 113
LTLT = 114
GTGT = 115
GTGTGT = 116
LTEQ = 117
GTEQ = 118
EQEQ = 119
BANGEQ = 120
CARET = 121
AMPAMP = 122
PIPEPIPE = 123
STARCOLON = 124
BANG = 125
TILDE = 126
True = 127
False = 128
NullLiteral = 129
SLASH2 = 130
StringFragment = 131
SingleQuotedString = 132
TripleSingleQuotedString = 133
DQUOTE = 134
DQUOTE2 = 135
StringFragment2 = 136
StringFragment3 = 137
DQUOTEDQUOTEDQUOTE = 138
DQUOTEDQUOTEDQUOTE2 = 139
StringFragment4 = 140
Identifier2 = 141
DOLLARLBRACE = 142
DOLLARSLASH = 143
SLASHDOLLAR = 144
StringFragment5 = 145
NumberLiteral = 146
SlashyStringStart = 147
LineComment = 148
BlockComment = 149
GroovydocComment = 150
SourceFile = 151
Statement = 152
CommandChain = 153
CommandArgument = 154
LabeledStatement = 155
Block = 156
IfStatement = 157
WhileStatement = 158
ForStatement = 159
DoWhileStatement = 160
ReturnStatement = 161
BreakStatement = 162
ContinueStatement = 163
ThrowStatement = 164
YieldStatement = 165
AssertStatement = 166
TryStatement = 167
ResourceSpecification = 168
Resource = 169
CatchClause = 170
CatchFormalParameter = 171
MultiType = 172
FinallyClause = 173
ClassDeclaration = 174
TraitDeclaration = 175
InterfaceDeclaration = 176
TypeParameters = 177
TypeParameter = 178
Superclass = 179
SuperInterfaces = 180
ExtendsInterfaces = 181
Modifier = 182
PermitsClause = 183
AnnotationTypeDeclaration = 184
ClassBody = 185
ClassMember = 186
ConstructorDeclaration = 187
StaticInitializer = 188
FieldDeclaration = 189
MethodDeclaration = 190
MethodTypeParameters = 191
ThrowsClause = 192
FormalParameters = 193
FormalParameter = 194
VarargsType = 195
EnumDeclaration = 196
EnumBody = 197
EnumConstant = 198
RecordDeclaration = 199
RecordComponents = 200
RecordComponent = 201
PackageDeclaration = 202
ImportDeclaration = 203
QualifiedName = 204
LocalVariableDeclaration = 205
InitializedDeclarator = 206
VariableDeclarator = 207
MultiAssignmentDeclaration = 208
PipelineStatement = 209
Annotation = 210
ForInStatement = 211
ExpressionStatement = 212
Expression = 213
SwitchExpression = 214
SwitchBlock = 215
SwitchCase = 216
SwitchArrowCase = 217
SwitchDefault = 218
CastExpression = 219
CastType = 220
QualifiedType = 221
DottedTypeTail = 222
MembershipExpression = 223
InstanceofExpression = 224
ObjectCreationExpression = 225
ParenthesizedTypeCast = 226
Type = 227
QualifiedType2 = 228
ArrayType = 229
GenericType = 230
TypeArguments = 231
TypeArgument = 232
Wildcard = 233
FieldAccess = 234
SafeChainDotExpression = 236
SpreadDotExpression = 237
MethodPointerExpression = 238
DirectFieldAccessExpression = 239
PropertyName = 240
MethodReferenceExpression = 241
UpdateExpression = 242
UnaryUpdateExpression = 243
MethodInvocation = 244
ArgumentList = 245
Argument = 246
SpreadArguments = 247
SubscriptExpression = 248
SafeSubscriptExpression = 249
PowerExpression = 250
LogicalImplicationExpression = 251
AssignmentExpression = 252
TernaryExpression = 253
ElvisExpression = 254
RangeExpression = 255
IdentityExpression = 256
SpaceshipExpression = 257
RegexFindExpression = 258
RegexMatchExpression = 259
BinaryExpression = 260
Closure = 261
ClosureParameters = 262
ClosureParameter = 263
ListLiteral = 264
MapLiteral = 265
MapEntry = 266
SpreadMapEntry = 267
ParenthesizedExpression = 268
UnaryExpression = 269
BooleanLiteral = 270
StringLiteral = 271
SlashyString = 272
DoubleQuotedString = 273
TripleDoubleQuotedString = 274
GstringDollarInterpolation = 275
GstringBraceInterpolation = 276
DollarSlashyString = 277
SourceFileRepeat1 = 278
CommandChainRepeat1 = 279
TryStatementRepeat1 = 280
ResourceSpecificationRepeat1 = 281
MultiTypeRepeat1 = 282
ClassDeclarationRepeat1 = 283
ClassDeclarationRepeat2 = 284
TypeParametersRepeat1 = 285
TypeParameterRepeat1 = 286
SuperInterfacesRepeat1 = 287
ClassBodyRepeat1 = 288
FieldDeclarationRepeat1 = 289
FormalParametersRepeat1 = 290
EnumBodyRepeat1 = 291
RecordComponentsRepeat1 = 292
QualifiedNameRepeat1 = 293
LocalVariableDeclarationRepeat1 = 294
SwitchBlockRepeat1 = 295
QualifiedTypeRepeat1 = 296
TypeArgumentsRepeat1 = 297
ArgumentListRepeat1 = 298
ClosureParametersRepeat1 = 299
ListLiteralRepeat1 = 300
MapLiteralRepeat1 = 301
SlashyStringRepeat1 = 302
DoubleQuotedStringRepeat1 = 303
TripleDoubleQuotedStringRepeat1 = 304
DollarSlashyStringRepeat1 = 305
NamedArgument = 306
QuotedIdentifier = 307
TypeIdentifier = 308
Error = 309
Trait Implementations§
impl Eq for Groovy
Source§impl FromPrimitive for Groovy
impl FromPrimitive for Groovy
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 Groovy
Auto Trait Implementations§
impl Freeze for Groovy
impl RefUnwindSafe for Groovy
impl Send for Groovy
impl Sync for Groovy
impl Unpin for Groovy
impl UnsafeUnpin for Groovy
impl UnwindSafe for Groovy
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.