A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://confluence.jetbrains.com/display/Kotlin/Grammar below:

Grammar

Grammar

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

  : '+='
  | '-='
  | '*='
  | '/='
  | '%='
  ;

  : '!='
  | '!=='
  | '=='
  | '==='
  ;

  : '<'
  | '>'
  | '<='
  | '>='
  ;

  : '++'
  | '--'
  | '-'
  | '+'
  | excl
  ;   : '++'
  | '--'
  | '!' excl
  ;

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)
    ('field' | 'property' | 'get' | 'set' | 'receiver' | 'param' | 'setparam' | 'delegate') ':'
  ;

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

)

  : Identifier
  | 'abstract'
  | 'annotation'
  | 'by'
  | 'catch'
  | 'companion'
  | 'constructor'
  | 'crossinline'
  | 'data'
  | 'dynamic'
  | 'enum'
  | 'external'
  | 'final'
  | 'finally'
  | 'get'
  | 'import'
  | 'infix'
  | 'init'
  | 'inline'
  | 'inner'
  | 'internal'
  | 'lateinit'
  | 'noinline'
  | 'open'
  | 'operator'
  | 'out'
  | 'override'
  | 'private'
  | 'protected'
  | 'public'
  | 'reified'
  | 'sealed'
  | 'tailrec'
  | 'set'
  | 'vararg'
  | 'where'
  | 'field'
  | 'property'
  | 'receiver'
  | 'param'
  | 'setparam'
  | 'delegate'
  | 'file'
  | 'expect'
  | 'actual'
  | 'const'
  | 'suspend'
  | 'value'
  ;   : Identifier
  | 'abstract'
  | 'annotation'
  | 'by'
  | 'catch'
  | 'companion'
  | 'constructor'
  | 'crossinline'
  | 'data'
  | 'dynamic'
  | 'enum'
  | 'external'
  | 'final'
  | 'finally'
  | 'import'
  | 'infix'
  | 'init'
  | 'inline'
  | 'inner'
  | 'internal'
  | 'lateinit'
  | 'noinline'
  | 'open'
  | 'operator'
  | 'out'
  | 'override'
  | 'private'
  | 'protected'
  | 'public'
  | 'reified'
  | 'sealed'
  | 'tailrec'
  | 'vararg'
  | 'where'
  | 'get'
  | 'set'
  | 'field'
  | 'property'
  | 'receiver'
  | 'param'
  | 'setparam'
  | 'delegate'
  | 'file'
  | 'expect'
  | 'actual'
  | 'value'
  | 'const'
  | 'suspend'
  ;

helper

  : '\\' ('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