pub enum Kotlin {
Show 290 variants
End = 0,
Identifier = 1,
AT = 2,
File = 3,
COLON = 4,
LBRACK = 5,
RBRACK = 6,
Package = 7,
SEMI = 8,
Import2 = 9,
DOT = 10,
STAR = 11,
As = 12,
Class = 13,
Fun = 14,
Interface = 15,
Object = 16,
Val = 17,
Var = 18,
EQ = 19,
Typealias = 20,
Companion = 21,
Init = 22,
Constructor = 23,
This = 24,
Super = 25,
LT = 26,
COMMA = 27,
GT = 28,
LPAREN = 29,
RPAREN = 30,
Where = 31,
By = 32,
Get = 33,
Set = 34,
LBRACE = 35,
RBRACE = 36,
For = 37,
In = 38,
While = 39,
Do = 40,
Enum = 41,
Sealed = 42,
Annotation2 = 43,
Data = 44,
Inner = 45,
Value = 46,
Tailrec = 47,
Operator = 48,
Infix = 49,
Inline = 50,
External = 51,
Suspend = 52,
Const = 53,
Public = 54,
Private = 55,
Protected = 56,
Internal = 57,
Abstract = 58,
Final = 59,
Open = 60,
Override = 61,
Lateinit = 62,
Vararg = 63,
Noinline = 64,
Crossinline = 65,
ReificationModifier = 66,
Expect = 67,
Actual = 68,
Field = 69,
Property = 70,
Receiver = 71,
Param = 72,
Setparam = 73,
Delegate = 74,
Dynamic = 75,
QMARK = 76,
AMP = 77,
DASHGT = 78,
PLUSEQ = 79,
DASHEQ = 80,
STAREQ = 81,
SLASHEQ = 82,
PERCENTEQ = 83,
PLUSPLUS = 84,
DASHDASH = 85,
PLUS = 86,
DASH = 87,
BANG = 88,
BANGBANG = 89,
SLASH = 90,
PERCENT = 91,
PIPEPIPE = 92,
AMPAMP = 93,
BANGEQ = 94,
BANGEQEQ = 95,
EQEQ = 96,
EQEQEQ = 97,
GTEQ = 98,
LTEQ = 99,
QMARKCOLON = 100,
BANGin = 101,
Is = 102,
AsQMARK = 103,
DOTDOT = 104,
DOTDOTLT = 105,
ThisAT = 106,
SuperAT = 107,
AT2 = 108,
If = 109,
Else = 110,
When = 111,
Try = 112,
Catch = 113,
Finally = 114,
Return = 115,
ReturnAT = 116,
Throw = 117,
COLONCOLON = 118,
DQUOTE = 119,
StringContent = 120,
StringContent2 = 121,
DOLLAR = 122,
DQUOTEDQUOTEDQUOTE = 123,
DQUOTEDQUOTEDQUOTEDQUOTE = 124,
DOLLARLBRACE = 125,
SQUOTE = 126,
CharacterLiteralToken1 = 127,
EscapeSequence = 128,
NumberLiteral = 129,
FloatLiteral = 130,
Out = 131,
Label = 132,
Shebang = 133,
LineComment = 134,
Semi = 135,
ClassMemberSemi = 136,
BlockComment = 137,
BANGis = 138,
In2 = 139,
QMARKDOT = 140,
StringContent3 = 141,
SourceFile = 142,
FileAnnotation = 143,
PackageHeader = 144,
Import = 145,
Declaration = 146,
ClassDeclaration = 147,
ObjectDeclaration = 148,
PropertyDeclaration = 149,
TypeAlias = 150,
CompanionObject = 151,
AnonymousInitializer = 152,
SecondaryConstructor = 153,
ConstructorDelegationCall = 154,
TypeParameters = 155,
TypeParameter = 156,
PrimaryConstructor = 157,
ClassParameters = 158,
ClassParameter = 159,
TypeConstraints = 160,
TypeConstraint = 161,
ConstructorInvocation = 162,
FunctionDeclaration = 163,
FunctionValueParameters = 164,
Parameter = 165,
DelegationSpecifiers = 166,
DelegationSpecifier = 167,
VariableDeclaration = 168,
MultiVariableDeclaration = 169,
PropertyDelegate = 170,
ExplicitDelegation = 171,
Getter = 172,
Setter = 173,
FunctionBody = 174,
Block = 175,
ForStatement = 176,
WhileStatement = 177,
DoWhileStatement = 178,
ClassBody = 179,
ClassMemberDeclaration = 180,
EnumClassBody = 181,
EnumEntry = 182,
ValueArguments = 183,
ValueArgument = 184,
Statement = 185,
Modifiers = 186,
ClassModifier = 187,
FunctionModifier = 188,
PropertyModifier = 189,
VisibilityModifier = 190,
InheritanceModifier = 191,
MemberModifier = 192,
ParameterModifiers = 193,
ParameterModifier = 194,
PlatformModifier = 195,
TypeModifiers = 196,
Annotation = 197,
UseSiteTarget = 198,
UnescapedAnnotation = 199,
Type = 200,
UserType = 201,
SimpleUserType = 202,
NullableType = 203,
NonNullableType = 204,
ReceiverType = 205,
TypeArguments = 206,
TypeProjection = 207,
FunctionType = 208,
FunctionTypeParameters = 209,
ParenthesizedType = 210,
Assignment = 211,
Expression = 212,
PrimaryExpression = 213,
UnaryExpression = 214,
AnnotatedExpression = 215,
LabeledExpression = 216,
BinaryExpression = 217,
InExpression = 218,
IsExpression = 219,
AsExpression = 220,
SpreadExpression = 221,
RangeExpression = 222,
InfixExpression = 223,
CallExpression = 224,
AnnotatedLambda = 225,
LambdaLiteral = 226,
LambdaParameters = 227,
LambdaParameter = 228,
AnonymousFunction = 229,
IndexExpression = 230,
ThisExpression = 231,
SuperExpression = 232,
IfExpression = 233,
ParenthesizedExpression = 234,
CollectionLiteral = 235,
WhenExpression = 236,
WhenSubject = 237,
WhenEntry = 238,
WhenCondition = 239,
RangeTest = 240,
TypeTest = 241,
TryExpression = 242,
CatchBlock = 243,
FinallyBlock = 244,
ReturnExpression = 245,
ThrowExpression = 246,
CallableReference = 247,
NavigationExpression = 248,
ObjectLiteral = 249,
StringLiteral = 250,
MultilineStringLiteral = 251,
Interpolation = 252,
CharacterLiteral = 253,
VarianceModifier = 254,
TypeParameterModifiers = 255,
QualifiedIdentifier = 256,
ReservedIdentifier = 257,
SourceFileRepeat1 = 258,
SourceFileRepeat2 = 259,
SourceFileRepeat3 = 260,
FileAnnotationRepeat1 = 261,
TypeParametersRepeat1 = 262,
ClassParametersRepeat1 = 263,
TypeConstraintsRepeat1 = 264,
FunctionValueParametersRepeat1 = 265,
DelegationSpecifiersRepeat1 = 266,
DelegationSpecifierRepeat1 = 267,
MultiVariableDeclarationRepeat1 = 268,
ClassBodyRepeat1 = 269,
EnumClassBodyRepeat1 = 270,
ValueArgumentsRepeat1 = 271,
StatementsRepeat1 = 272,
ModifiersRepeat1 = 273,
ParameterModifiersRepeat1 = 274,
TypeModifiersRepeat1 = 275,
UserTypeRepeat1 = 276,
TypeArgumentsRepeat1 = 277,
TypeProjectionRepeat1 = 278,
FunctionTypeParametersRepeat1 = 279,
LambdaParametersRepeat1 = 280,
IndexExpressionRepeat1 = 281,
WhenExpressionRepeat1 = 282,
WhenEntryRepeat1 = 283,
TryExpressionRepeat1 = 284,
StringLiteralRepeat1 = 285,
MultilineStringLiteralRepeat1 = 286,
TypeParameterModifiersRepeat1 = 287,
QualifiedIdentifierRepeat1 = 288,
Error = 289,
}Variants§
End = 0
Identifier = 1
AT = 2
File = 3
COLON = 4
LBRACK = 5
RBRACK = 6
Package = 7
SEMI = 8
Import2 = 9
DOT = 10
STAR = 11
As = 12
Class = 13
Fun = 14
Interface = 15
Object = 16
Val = 17
Var = 18
EQ = 19
Typealias = 20
Companion = 21
Init = 22
Constructor = 23
This = 24
Super = 25
LT = 26
COMMA = 27
GT = 28
LPAREN = 29
RPAREN = 30
Where = 31
By = 32
Get = 33
Set = 34
LBRACE = 35
RBRACE = 36
For = 37
In = 38
While = 39
Do = 40
Enum = 41
Sealed = 42
Annotation2 = 43
Data = 44
Inner = 45
Value = 46
Tailrec = 47
Operator = 48
Infix = 49
Inline = 50
External = 51
Suspend = 52
Const = 53
Public = 54
Private = 55
Protected = 56
Internal = 57
Abstract = 58
Final = 59
Open = 60
Override = 61
Lateinit = 62
Vararg = 63
Noinline = 64
Crossinline = 65
ReificationModifier = 66
Expect = 67
Actual = 68
Field = 69
Property = 70
Receiver = 71
Param = 72
Setparam = 73
Delegate = 74
Dynamic = 75
QMARK = 76
AMP = 77
DASHGT = 78
PLUSEQ = 79
DASHEQ = 80
STAREQ = 81
SLASHEQ = 82
PERCENTEQ = 83
PLUSPLUS = 84
DASHDASH = 85
PLUS = 86
DASH = 87
BANG = 88
BANGBANG = 89
SLASH = 90
PERCENT = 91
PIPEPIPE = 92
AMPAMP = 93
BANGEQ = 94
BANGEQEQ = 95
EQEQ = 96
EQEQEQ = 97
GTEQ = 98
LTEQ = 99
QMARKCOLON = 100
BANGin = 101
Is = 102
AsQMARK = 103
DOTDOT = 104
DOTDOTLT = 105
ThisAT = 106
SuperAT = 107
AT2 = 108
If = 109
Else = 110
When = 111
Try = 112
Catch = 113
Finally = 114
Return = 115
ReturnAT = 116
Throw = 117
COLONCOLON = 118
DQUOTE = 119
StringContent = 120
StringContent2 = 121
DOLLAR = 122
DQUOTEDQUOTEDQUOTE = 123
DQUOTEDQUOTEDQUOTEDQUOTE = 124
DOLLARLBRACE = 125
SQUOTE = 126
CharacterLiteralToken1 = 127
EscapeSequence = 128
NumberLiteral = 129
FloatLiteral = 130
Out = 131
Label = 132
Shebang = 133
LineComment = 134
Semi = 135
ClassMemberSemi = 136
BlockComment = 137
BANGis = 138
In2 = 139
QMARKDOT = 140
StringContent3 = 141
SourceFile = 142
FileAnnotation = 143
PackageHeader = 144
Import = 145
Declaration = 146
ClassDeclaration = 147
ObjectDeclaration = 148
PropertyDeclaration = 149
TypeAlias = 150
CompanionObject = 151
AnonymousInitializer = 152
SecondaryConstructor = 153
ConstructorDelegationCall = 154
TypeParameters = 155
TypeParameter = 156
PrimaryConstructor = 157
ClassParameters = 158
ClassParameter = 159
TypeConstraints = 160
TypeConstraint = 161
ConstructorInvocation = 162
FunctionDeclaration = 163
FunctionValueParameters = 164
Parameter = 165
DelegationSpecifiers = 166
DelegationSpecifier = 167
VariableDeclaration = 168
MultiVariableDeclaration = 169
PropertyDelegate = 170
ExplicitDelegation = 171
Getter = 172
Setter = 173
FunctionBody = 174
Block = 175
ForStatement = 176
WhileStatement = 177
DoWhileStatement = 178
ClassBody = 179
ClassMemberDeclaration = 180
EnumClassBody = 181
EnumEntry = 182
ValueArguments = 183
ValueArgument = 184
Statement = 185
Modifiers = 186
ClassModifier = 187
FunctionModifier = 188
PropertyModifier = 189
VisibilityModifier = 190
InheritanceModifier = 191
MemberModifier = 192
ParameterModifiers = 193
ParameterModifier = 194
PlatformModifier = 195
TypeModifiers = 196
Annotation = 197
UseSiteTarget = 198
UnescapedAnnotation = 199
Type = 200
UserType = 201
SimpleUserType = 202
NullableType = 203
NonNullableType = 204
ReceiverType = 205
TypeArguments = 206
TypeProjection = 207
FunctionType = 208
FunctionTypeParameters = 209
ParenthesizedType = 210
Assignment = 211
Expression = 212
PrimaryExpression = 213
UnaryExpression = 214
AnnotatedExpression = 215
LabeledExpression = 216
BinaryExpression = 217
InExpression = 218
IsExpression = 219
AsExpression = 220
SpreadExpression = 221
RangeExpression = 222
InfixExpression = 223
CallExpression = 224
AnnotatedLambda = 225
LambdaLiteral = 226
LambdaParameters = 227
LambdaParameter = 228
AnonymousFunction = 229
IndexExpression = 230
ThisExpression = 231
SuperExpression = 232
IfExpression = 233
ParenthesizedExpression = 234
CollectionLiteral = 235
WhenExpression = 236
WhenSubject = 237
WhenEntry = 238
WhenCondition = 239
RangeTest = 240
TypeTest = 241
TryExpression = 242
CatchBlock = 243
FinallyBlock = 244
ReturnExpression = 245
ThrowExpression = 246
CallableReference = 247
ObjectLiteral = 249
StringLiteral = 250
MultilineStringLiteral = 251
Interpolation = 252
CharacterLiteral = 253
VarianceModifier = 254
TypeParameterModifiers = 255
QualifiedIdentifier = 256
ReservedIdentifier = 257
SourceFileRepeat1 = 258
SourceFileRepeat2 = 259
SourceFileRepeat3 = 260
FileAnnotationRepeat1 = 261
TypeParametersRepeat1 = 262
ClassParametersRepeat1 = 263
TypeConstraintsRepeat1 = 264
FunctionValueParametersRepeat1 = 265
DelegationSpecifiersRepeat1 = 266
DelegationSpecifierRepeat1 = 267
MultiVariableDeclarationRepeat1 = 268
ClassBodyRepeat1 = 269
EnumClassBodyRepeat1 = 270
ValueArgumentsRepeat1 = 271
StatementsRepeat1 = 272
ModifiersRepeat1 = 273
ParameterModifiersRepeat1 = 274
TypeModifiersRepeat1 = 275
UserTypeRepeat1 = 276
TypeArgumentsRepeat1 = 277
TypeProjectionRepeat1 = 278
FunctionTypeParametersRepeat1 = 279
LambdaParametersRepeat1 = 280
IndexExpressionRepeat1 = 281
WhenExpressionRepeat1 = 282
WhenEntryRepeat1 = 283
TryExpressionRepeat1 = 284
StringLiteralRepeat1 = 285
MultilineStringLiteralRepeat1 = 286
TypeParameterModifiersRepeat1 = 287
QualifiedIdentifierRepeat1 = 288
Error = 289
Trait Implementations§
impl Eq for Kotlin
Source§impl FromPrimitive for Kotlin
impl FromPrimitive for Kotlin
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 Kotlin
Auto Trait Implementations§
impl Freeze for Kotlin
impl RefUnwindSafe for Kotlin
impl Send for Kotlin
impl Sync for Kotlin
impl Unpin for Kotlin
impl UnsafeUnpin for Kotlin
impl UnwindSafe for Kotlin
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.