Expand description
Describes common tokens used by Kotlin language.
Modules§
Constants§
- ANGLE_
BRACKET_ LEFT <
start of generic parameters- ANGLE_
BRACKET_ RIGHT >
end of generic parameters- ARROW
- ‘->’ separates lambda arguments from body
- ASSIGN
=
assign operator- AT
@
used as annotation prefix- BLOCK_
COMMENT_ END - ’ */’ used to e end block comments
- BLOCK_
COMMENT_ MIDDLE - ’ *’ used in middle of block comments
- BLOCK_
COMMENT_ START - ‘/*’ used to start block comments
- COLON
- ‘:’ separates parameter / property name and type
- COMMA
- ‘,’ separates list of values
- CONV_
VAR_ FIELD - ‘filed’ special variable inside property’s
set(value) {...}
andget() {...}
- CONV_
VAR_ VALUE - ‘value’ special argument inside property’s
set(value) {...}
andget() {...}
- CURLY_
BRACKET_ LEFT - ‘{’ opens new scopes and lambda body
- CURLY_
BRACKET_ RIGHT - ‘}’ closes scopes and lambda body
- DOT
- ‘.’ used to separate qualifiers
- EMPTY
- Empty string
- INDENT
- Default indentation value
- INLINE_
COMMENT_ START - ‘//’ used to start single line comments
- KDOC_
COMMENT_ END - ’ */’ used to end kdoc comments
- KDOC_
COMMENT_ MIDDLE - ’ *’ used in middle of kdoc comments
- KDOC_
COMMENT_ START - ‘/**’ used to start kdoc comments
- NAME_
DISALLOWED_ TOKENS - NAME_
ESCAPED_ TOKENS - NEW_
LINE - New line string
- NEW_
LINE_ CH - New line character
- QUESTION_
MARK - ‘?’ denotes nullability
- ROUND_
BRACKET_ LEFT - ‘(’ opens parameter / argument lists
- ROUND_
BRACKET_ RIGHT - ‘)’ opens parameter / argument lists
- SEMICOLON
- ‘;’ denotes statement end
- SPACE
- Single space
- STAR
- ‘*’ symbol used for star projections
- TICK
- ‘`’ used to escape non JVM compatible identifiers