Module kotlin_poet_rs::tokens
source · Expand description
Describes common tokens used by Kotlin language.
Modules§
Constants§
<
start of generic parameters>
end of generic parameters- ‘->’ separates lambda arguments from body
=
assign operator@
used as annotation prefix- ’ */’ used to e end block comments
- ’ *’ used in middle of block comments
- ‘/*’ used to start block comments
- ‘:’ separates parameter / property name and type
- ‘,’ separates list of values
- ‘filed’ special variable inside property’s
set(value) {...}
andget() {...}
- ‘value’ special argument inside property’s
set(value) {...}
andget() {...}
- ‘{’ opens new scopes and lambda body
- ‘}’ closes scopes and lambda body
- ‘.’ used to separate qualifiers
- Empty string
- Default indentation value
- ‘//’ used to start single line comments
- ’ */’ used to end kdoc comments
- ’ *’ used in middle of kdoc comments
- ‘/**’ used to start kdoc comments
- New line string
- New line character
- ‘?’ denotes nullability
- ‘(’ opens parameter / argument lists
- ‘)’ opens parameter / argument lists
- ‘;’ denotes statement end
- Single space
- ‘*’ symbol used for star projections
- ‘`’ used to escape non JVM compatible identifiers