pub enum Java {
Show 322 variants
End = 0,
Identifier = 1,
DecimalIntegerLiteral = 2,
HexIntegerLiteral = 3,
OctalIntegerLiteral = 4,
BinaryIntegerLiteral = 5,
DecimalFloatingPointLiteral = 6,
HexFloatingPointLiteral = 7,
True = 8,
False = 9,
CharacterLiteral = 10,
DQUOTE = 11,
DQUOTEDQUOTEDQUOTE = 12,
StringFragment = 13,
MultilineStringFragmentToken1 = 14,
MultilineStringFragmentToken2 = 15,
BSLASHLBRACE = 16,
RBRACE = 17,
EscapeSequenceToken1 = 18,
EscapeSequence = 19,
NullLiteral = 20,
LPAREN = 21,
RPAREN = 22,
AMP = 23,
EQ = 24,
PLUSEQ = 25,
DASHEQ = 26,
STAREQ = 27,
SLASHEQ = 28,
AMPEQ = 29,
PIPEEQ = 30,
CARETEQ = 31,
PERCENTEQ = 32,
LTLTEQ = 33,
GTGTEQ = 34,
GTGTGTEQ = 35,
GT = 36,
LT = 37,
GTEQ = 38,
LTEQ = 39,
EQEQ = 40,
BANGEQ = 41,
AMPAMP = 42,
PIPEPIPE = 43,
PLUS = 44,
DASH = 45,
STAR = 46,
SLASH = 47,
PIPE = 48,
CARET = 49,
PERCENT = 50,
LTLT = 51,
GTGT = 52,
GTGTGT = 53,
Instanceof = 54,
Final = 55,
DASHGT = 56,
COMMA = 57,
QMARK = 58,
COLON = 59,
BANG = 60,
TILDE = 61,
PLUSPLUS = 62,
DASHDASH = 63,
New = 64,
LBRACK = 65,
RBRACK = 66,
DOT = 67,
Class = 68,
COLONCOLON = 69,
Extends = 70,
Switch = 71,
LBRACE = 72,
Case = 73,
Default = 74,
UnderscorePattern = 75,
When = 76,
SEMI = 77,
Assert = 78,
Do = 79,
While = 80,
Break = 81,
Continue = 82,
Return = 83,
Yield = 84,
Synchronized = 85,
Throw = 86,
Try = 87,
Catch = 88,
Finally = 89,
If = 90,
Else = 91,
For = 92,
AT = 93,
Open = 94,
Module = 95,
Requires = 96,
Transitive = 97,
Static = 98,
Exports = 99,
To = 100,
Opens = 101,
Uses = 102,
Provides = 103,
With = 104,
Package = 105,
Import = 106,
Enum = 107,
Public = 108,
Protected = 109,
Private = 110,
Abstract = 111,
Strictfp = 112,
Native = 113,
Transient = 114,
Volatile = 115,
Sealed = 116,
NonDASHsealed = 117,
Implements = 118,
Permits2 = 119,
Record = 120,
ATinterface = 121,
Interface = 122,
Byte = 123,
Short = 124,
Int = 125,
Long = 126,
Char = 127,
Float = 128,
Double = 129,
BooleanType = 130,
VoidType = 131,
DOTDOTDOT = 132,
Throws2 = 133,
This = 134,
Super = 135,
LineComment = 136,
BlockComment = 137,
Program = 138,
ToplevelStatement = 139,
Literal = 140,
StringLiteral = 141,
StringLiteral2 = 142,
MultilineStringLiteral = 143,
MultilineStringFragment = 144,
StringInterpolation = 145,
EscapeSequence2 = 146,
Expression = 147,
CastExpression = 148,
AssignmentExpression = 149,
BinaryExpression = 150,
InstanceofExpression = 151,
LambdaExpression = 152,
InferredParameters = 153,
TernaryExpression = 154,
UnaryExpression = 155,
UpdateExpression = 156,
PrimaryExpression = 157,
ArrayCreationExpression = 158,
DimensionsExpr = 159,
ParenthesizedExpression = 160,
ClassLiteral = 161,
ObjectCreationExpression = 162,
UnqualifiedObjectCreationExpression = 163,
FieldAccess = 164,
TemplateExpression = 165,
ArrayAccess = 166,
MethodInvocation = 167,
ArgumentList = 168,
MethodReference = 169,
TypeArguments = 170,
Wildcard = 171,
WildcardBounds = 172,
Dimensions = 173,
SwitchExpression = 174,
SwitchBlock = 175,
SwitchBlockStatementGroup = 176,
SwitchRule = 177,
SwitchLabel = 178,
Pattern = 179,
TypePattern = 180,
RecordPattern = 181,
RecordPatternBody = 182,
RecordPatternComponent = 183,
Guard = 184,
Statement = 185,
Block = 186,
ExpressionStatement = 187,
LabeledStatement = 188,
AssertStatement = 189,
DoStatement = 190,
BreakStatement = 191,
ContinueStatement = 192,
ReturnStatement = 193,
YieldStatement = 194,
SynchronizedStatement = 195,
ThrowStatement = 196,
TryStatement = 197,
CatchClause = 198,
CatchFormalParameter = 199,
CatchType = 200,
FinallyClause = 201,
TryWithResourcesStatement = 202,
ResourceSpecification = 203,
Resource = 204,
IfStatement = 205,
WhileStatement = 206,
ForStatement = 207,
EnhancedForStatement = 208,
Annotation2 = 209,
MarkerAnnotation = 210,
Annotation = 211,
AnnotationArgumentList = 212,
ElementValuePair = 213,
ElementValue = 214,
ElementValueArrayInitializer = 215,
Declaration = 216,
ModuleDeclaration = 217,
ModuleBody = 218,
ModuleDirective = 219,
RequiresModuleDirective = 220,
RequiresModifier = 221,
ExportsModuleDirective = 222,
OpensModuleDirective = 223,
UsesModuleDirective = 224,
ProvidesModuleDirective = 225,
PackageDeclaration = 226,
ImportDeclaration = 227,
Asterisk = 228,
EnumDeclaration = 229,
EnumBody = 230,
EnumBodyDeclarations = 231,
EnumConstant = 232,
ClassDeclaration = 233,
Modifiers = 234,
TypeParameters = 235,
TypeParameter = 236,
TypeBound = 237,
Superclass = 238,
SuperInterfaces = 239,
TypeList = 240,
Permits = 241,
ClassBody = 242,
StaticInitializer = 243,
ConstructorDeclaration = 244,
ConstructorDeclarator = 245,
ConstructorBody = 246,
ExplicitConstructorInvocation = 247,
ScopedIdentifier = 248,
FieldDeclaration = 249,
RecordDeclaration = 250,
AnnotationTypeDeclaration = 251,
AnnotationTypeBody = 252,
AnnotationTypeElementDeclaration = 253,
DefaultValue = 254,
InterfaceDeclaration = 255,
ExtendsInterfaces = 256,
InterfaceBody = 257,
ConstantDeclaration = 258,
VariableDeclaratorList = 259,
VariableDeclarator = 260,
VariableDeclaratorId = 261,
ArrayInitializer = 262,
Type = 263,
UnannotatedType = 264,
AnnotatedType = 265,
ScopedTypeIdentifier = 266,
GenericType = 267,
ArrayType = 268,
IntegralType = 269,
FloatingPointType = 270,
MethodHeader = 271,
MethodDeclarator = 272,
FormalParameters = 273,
FormalParameter = 274,
ReceiverParameter = 275,
SpreadParameter = 276,
Throws = 277,
LocalVariableDeclaration = 278,
MethodDeclaration = 279,
CompactConstructorDeclaration = 280,
ReservedIdentifier = 281,
ProgramRepeat1 = 282,
StringLiteralRepeat1 = 283,
MultilineStringLiteralRepeat1 = 284,
CastExpressionRepeat1 = 285,
InferredParametersRepeat1 = 286,
ArrayCreationExpressionRepeat1 = 287,
ArrayCreationExpressionRepeat2 = 288,
ArgumentListRepeat1 = 289,
TypeArgumentsRepeat1 = 290,
DimensionsRepeat1 = 291,
SwitchBlockRepeat1 = 292,
SwitchBlockRepeat2 = 293,
SwitchBlockStatementGroupRepeat1 = 294,
SwitchBlockStatementGroupRepeat2 = 295,
RecordPatternBodyRepeat1 = 296,
TryStatementRepeat1 = 297,
CatchTypeRepeat1 = 298,
ResourceSpecificationRepeat1 = 299,
ForStatementRepeat1 = 300,
ForStatementRepeat2 = 301,
AnnotationArgumentListRepeat1 = 302,
ElementValueArrayInitializerRepeat1 = 303,
ModuleBodyRepeat1 = 304,
RequiresModuleDirectiveRepeat1 = 305,
ExportsModuleDirectiveRepeat1 = 306,
ProvidesModuleDirectiveRepeat1 = 307,
EnumBodyRepeat1 = 308,
EnumBodyDeclarationsRepeat1 = 309,
ModifiersRepeat1 = 310,
TypeParametersRepeat1 = 311,
TypeBoundRepeat1 = 312,
TypeListRepeat1 = 313,
AnnotationTypeBodyRepeat1 = 314,
InterfaceBodyRepeat1 = 315,
VariableDeclaratorListRepeat1 = 316,
ArrayInitializerRepeat1 = 317,
FormalParametersRepeat1 = 318,
ReceiverParameterRepeat1 = 319,
TypeIdentifier = 320,
Error = 321,
}Variants§
End = 0
Identifier = 1
DecimalIntegerLiteral = 2
HexIntegerLiteral = 3
OctalIntegerLiteral = 4
BinaryIntegerLiteral = 5
DecimalFloatingPointLiteral = 6
HexFloatingPointLiteral = 7
True = 8
False = 9
CharacterLiteral = 10
DQUOTE = 11
DQUOTEDQUOTEDQUOTE = 12
StringFragment = 13
MultilineStringFragmentToken1 = 14
MultilineStringFragmentToken2 = 15
BSLASHLBRACE = 16
RBRACE = 17
EscapeSequenceToken1 = 18
EscapeSequence = 19
NullLiteral = 20
LPAREN = 21
RPAREN = 22
AMP = 23
EQ = 24
PLUSEQ = 25
DASHEQ = 26
STAREQ = 27
SLASHEQ = 28
AMPEQ = 29
PIPEEQ = 30
CARETEQ = 31
PERCENTEQ = 32
LTLTEQ = 33
GTGTEQ = 34
GTGTGTEQ = 35
GT = 36
LT = 37
GTEQ = 38
LTEQ = 39
EQEQ = 40
BANGEQ = 41
AMPAMP = 42
PIPEPIPE = 43
PLUS = 44
DASH = 45
STAR = 46
SLASH = 47
PIPE = 48
CARET = 49
PERCENT = 50
LTLT = 51
GTGT = 52
GTGTGT = 53
Instanceof = 54
Final = 55
DASHGT = 56
COMMA = 57
QMARK = 58
COLON = 59
BANG = 60
TILDE = 61
PLUSPLUS = 62
DASHDASH = 63
New = 64
LBRACK = 65
RBRACK = 66
DOT = 67
Class = 68
COLONCOLON = 69
Extends = 70
Switch = 71
LBRACE = 72
Case = 73
Default = 74
UnderscorePattern = 75
When = 76
SEMI = 77
Assert = 78
Do = 79
While = 80
Break = 81
Continue = 82
Return = 83
Yield = 84
Synchronized = 85
Throw = 86
Try = 87
Catch = 88
Finally = 89
If = 90
Else = 91
For = 92
AT = 93
Open = 94
Module = 95
Requires = 96
Transitive = 97
Static = 98
Exports = 99
To = 100
Opens = 101
Uses = 102
Provides = 103
With = 104
Package = 105
Import = 106
Enum = 107
Public = 108
Protected = 109
Private = 110
Abstract = 111
Strictfp = 112
Native = 113
Transient = 114
Volatile = 115
Sealed = 116
NonDASHsealed = 117
Implements = 118
Permits2 = 119
Record = 120
ATinterface = 121
Interface = 122
Byte = 123
Short = 124
Int = 125
Long = 126
Char = 127
Float = 128
Double = 129
BooleanType = 130
VoidType = 131
DOTDOTDOT = 132
Throws2 = 133
This = 134
Super = 135
LineComment = 136
BlockComment = 137
Program = 138
ToplevelStatement = 139
Literal = 140
StringLiteral = 141
StringLiteral2 = 142
MultilineStringLiteral = 143
MultilineStringFragment = 144
StringInterpolation = 145
EscapeSequence2 = 146
Expression = 147
CastExpression = 148
AssignmentExpression = 149
BinaryExpression = 150
InstanceofExpression = 151
LambdaExpression = 152
InferredParameters = 153
TernaryExpression = 154
UnaryExpression = 155
UpdateExpression = 156
PrimaryExpression = 157
ArrayCreationExpression = 158
DimensionsExpr = 159
ParenthesizedExpression = 160
ClassLiteral = 161
ObjectCreationExpression = 162
UnqualifiedObjectCreationExpression = 163
FieldAccess = 164
TemplateExpression = 165
ArrayAccess = 166
MethodInvocation = 167
ArgumentList = 168
MethodReference = 169
TypeArguments = 170
Wildcard = 171
WildcardBounds = 172
Dimensions = 173
SwitchExpression = 174
SwitchBlock = 175
SwitchBlockStatementGroup = 176
SwitchRule = 177
SwitchLabel = 178
Pattern = 179
TypePattern = 180
RecordPattern = 181
RecordPatternBody = 182
RecordPatternComponent = 183
Guard = 184
Statement = 185
Block = 186
ExpressionStatement = 187
LabeledStatement = 188
AssertStatement = 189
DoStatement = 190
BreakStatement = 191
ContinueStatement = 192
ReturnStatement = 193
YieldStatement = 194
SynchronizedStatement = 195
ThrowStatement = 196
TryStatement = 197
CatchClause = 198
CatchFormalParameter = 199
CatchType = 200
FinallyClause = 201
TryWithResourcesStatement = 202
ResourceSpecification = 203
Resource = 204
IfStatement = 205
WhileStatement = 206
ForStatement = 207
EnhancedForStatement = 208
Annotation2 = 209
MarkerAnnotation = 210
Annotation = 211
AnnotationArgumentList = 212
ElementValuePair = 213
ElementValue = 214
ElementValueArrayInitializer = 215
Declaration = 216
ModuleDeclaration = 217
ModuleBody = 218
ModuleDirective = 219
RequiresModuleDirective = 220
RequiresModifier = 221
ExportsModuleDirective = 222
OpensModuleDirective = 223
UsesModuleDirective = 224
ProvidesModuleDirective = 225
PackageDeclaration = 226
ImportDeclaration = 227
Asterisk = 228
EnumDeclaration = 229
EnumBody = 230
EnumBodyDeclarations = 231
EnumConstant = 232
ClassDeclaration = 233
Modifiers = 234
TypeParameters = 235
TypeParameter = 236
TypeBound = 237
Superclass = 238
SuperInterfaces = 239
TypeList = 240
Permits = 241
ClassBody = 242
StaticInitializer = 243
ConstructorDeclaration = 244
ConstructorDeclarator = 245
ConstructorBody = 246
ExplicitConstructorInvocation = 247
ScopedIdentifier = 248
FieldDeclaration = 249
RecordDeclaration = 250
AnnotationTypeDeclaration = 251
AnnotationTypeBody = 252
AnnotationTypeElementDeclaration = 253
DefaultValue = 254
InterfaceDeclaration = 255
ExtendsInterfaces = 256
InterfaceBody = 257
ConstantDeclaration = 258
VariableDeclaratorList = 259
VariableDeclarator = 260
VariableDeclaratorId = 261
ArrayInitializer = 262
Type = 263
UnannotatedType = 264
AnnotatedType = 265
ScopedTypeIdentifier = 266
GenericType = 267
ArrayType = 268
IntegralType = 269
FloatingPointType = 270
MethodHeader = 271
MethodDeclarator = 272
FormalParameters = 273
FormalParameter = 274
ReceiverParameter = 275
SpreadParameter = 276
Throws = 277
LocalVariableDeclaration = 278
MethodDeclaration = 279
CompactConstructorDeclaration = 280
ReservedIdentifier = 281
ProgramRepeat1 = 282
StringLiteralRepeat1 = 283
MultilineStringLiteralRepeat1 = 284
CastExpressionRepeat1 = 285
InferredParametersRepeat1 = 286
ArrayCreationExpressionRepeat1 = 287
ArrayCreationExpressionRepeat2 = 288
ArgumentListRepeat1 = 289
TypeArgumentsRepeat1 = 290
DimensionsRepeat1 = 291
SwitchBlockRepeat1 = 292
SwitchBlockRepeat2 = 293
SwitchBlockStatementGroupRepeat1 = 294
SwitchBlockStatementGroupRepeat2 = 295
RecordPatternBodyRepeat1 = 296
TryStatementRepeat1 = 297
CatchTypeRepeat1 = 298
ResourceSpecificationRepeat1 = 299
ForStatementRepeat1 = 300
ForStatementRepeat2 = 301
AnnotationArgumentListRepeat1 = 302
ElementValueArrayInitializerRepeat1 = 303
ModuleBodyRepeat1 = 304
RequiresModuleDirectiveRepeat1 = 305
ExportsModuleDirectiveRepeat1 = 306
ProvidesModuleDirectiveRepeat1 = 307
EnumBodyRepeat1 = 308
EnumBodyDeclarationsRepeat1 = 309
ModifiersRepeat1 = 310
TypeParametersRepeat1 = 311
TypeBoundRepeat1 = 312
TypeListRepeat1 = 313
AnnotationTypeBodyRepeat1 = 314
InterfaceBodyRepeat1 = 315
VariableDeclaratorListRepeat1 = 316
ArrayInitializerRepeat1 = 317
FormalParametersRepeat1 = 318
ReceiverParameterRepeat1 = 319
TypeIdentifier = 320
Error = 321
Trait Implementations§
impl Eq for Java
Source§impl FromPrimitive for Java
impl FromPrimitive for Java
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 Java
Auto Trait Implementations§
impl Freeze for Java
impl RefUnwindSafe for Java
impl Send for Java
impl Sync for Java
impl Unpin for Java
impl UnsafeUnpin for Java
impl UnwindSafe for Java
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.