Module tokens

Source
Expand description

Describes common tokens used by Kotlin language.

Modules§

keyword

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) {...} and get() {...}
CONV_VAR_VALUE
‘value’ special argument inside property’s set(value) {...} and get() {...}
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