annotatedDelegationSpecifier
parametersWithOptionalType
functionValueParameterWithOptionalType
parameterWithOptionalType
constructorDelegationCall
type
(used by
typeAlias,
classParameter,
typeParameter,
typeConstraint,
functionDeclaration,
variableDeclaration,
getter,
setter,
parameterWithOptionalType,
parameter,
typeProjection,
functionType,
functionTypeParameters,
parenthesizedType,
infixOperation,
asExpression,
lambdaParameter,
anonymousFunction,
superExpression,
typeTest,
catchBlock)
definitelyNonNullableType
expression
(used by
classParameter,
explicitDelegation,
functionValueParameter,
functionBody,
propertyDeclaration,
propertyDelegate,
functionValueParameterWithOptionalType,
statement,
forStatement,
whileStatement,
doWhileStatement,
assignment,
indexingSuffix,
valueArgument,
parenthesizedExpression,
collectionLiteral,
lineStringExpression,
multiLineStringExpression,
ifExpression,
whenSubject,
whenCondition,
rangeTest,
jumpExpression)
genericCallLikeComparison
directlyAssignableExpression
parenthesizedDirectlyAssignableExpression
parenthesizedAssignableExpression
multiLineStringExpression
: '+='
| '-='
| '*='
| '/='
| '%='
;
: '!='
| '!=='
| '=='
| '==='
;
: '<'
| '>'
| '<='
| '>='
;
modifiers
(used by
typeAlias,
classDeclaration,
primaryConstructor,
classParameter,
companionObject,
functionDeclaration,
propertyDeclaration,
getter,
setter,
objectDeclaration,
secondaryConstructor,
enumEntry)
: 'enum'
| 'sealed'
| 'annotation'
| 'data'
| 'inner'
| 'value'
;
: 'override'
| 'lateinit'
;
: 'public'
| 'private'
| 'internal'
| 'protected'
;
: 'tailrec'
| 'operator'
| 'infix'
| 'inline'
| 'external'
| 'suspend'
;
: 'abstract'
| 'final'
| 'open'
;
: 'vararg'
| 'noinline'
| 'crossinline'
;
annotation
(used by
annotatedDelegationSpecifier,
typeConstraint,
variableDeclaration,
typeProjectionModifier,
statement,
forStatement,
unaryPrefix,
annotatedLambda,
valueArgument,
whenSubject,
catchBlock,
modifiers,
parameterModifiers,
typeModifier,
typeParameterModifier)
: ('@' | AT_PRE_WS)simpleIdentifier
(used by
importAlias,
typeAlias,
classDeclaration,
classParameter,
typeParameter,
typeConstraint,
companionObject,
functionDeclaration,
variableDeclaration,
parameterWithOptionalType,
parameter,
objectDeclaration,
enumEntry,
simpleUserType,
label,
infixFunctionCall,
directlyAssignableExpression,
navigationSuffix,
valueArgument,
primaryExpression,
superExpression,
catchBlock,
callableReference,
identifier)
: Identifierhelper
: '\\' ('t' | 'b' | 'r' | 'n' | '\'' | '"' | '\\' | '$')
;
: ~('\\' | '"' | '$')+
| '$'
;
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3