Kotlin Language Module
Parser Documentation

Version: 0.1.2


This document was generated on 2023/08/30.


Introduction

Documentation

Abstract Classes and Interfaces

KAnnotable Interface I

Local Features
Name Type
annotations
List<KAnnotation>
Implementing Classes

KBinaryExpression Class (Abstract) A

KClassMemberDeclaration Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KComparisonExpression Class (Abstract) A

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A
Implementing Classes

KDelegationSpecifier Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KEqualityExpression Class (Abstract) A

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A
Implementing Classes

KFunctionLike Interface I

Local Features
Implementing Classes

KFunctionSymbol Interface I

Inherited Features
Name Type
name String?
name String

KLiteral Class (Abstract) A

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes

KModifier Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KName Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KStatement Class (Abstract) A

KSuperType Class (Abstract) A

Super Classes
Local Features
Name Type
name String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KTopLevelDeclaration Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KTypeProjection Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes

KTyped Interface I

Local Features
Name Type
type
KType? A
Implementing Classes

KVariableDeclarator Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

Classes

KAnnotable Interface I

Local Features
Name Type
annotations
List<KAnnotation>
Implementing Classes

KAnnotation Class

Local Features
Name Type
annotationDeclaration ReferenceByName?
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KAnnotationDeclaration Class

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String

KAnonymousInitializer Class

Super Classes
Local Features
Name Type
statements
List<KStatement> A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KBinaryExpression Class (Abstract) A

KBlock Class

Super Classes
Local Features
Name Type
statements
List<KStatement> A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KCastExpression Class

Super Classes
Local Features
Name Type
baseExpression
KExpression? A
tentative Boolean
type
KType? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KClassBody Class

Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KClassDeclaration Class

Super Classes
Local Features
Name Type
dataClass Boolean
isAbstract Boolean
isSealed Boolean
members
List<KClassMemberDeclaration> A
primaryConstructor
KPrimaryConstructor?
superTypes
List<KSuperType> A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String

KClassMemberDeclaration Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KComparisonExpression Class (Abstract) A

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A
Implementing Classes

KCompilationUnit Class

Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KDelegate Class

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KDelegationSpecifier Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KElseClause Class

Local Features
Name Type
body
KStatement? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KEqualityExpression Class (Abstract) A

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A
Implementing Classes

KExpressionStatement Class

Super Classes
Local Features
Name Type
expression
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KExtensionMethod Class

Super Classes
Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String

KFalse Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KFunctionCall Class

Super Classes
Local Features
Name Type
args
List<KParameterValue>
function ReferenceByName?
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KFunctionDeclaration Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String

KFunctionLike Interface I

Local Features
Implementing Classes

KFunctionSymbol Interface I

Inherited Features
Name Type
name String?
name String

KGetter Class

Local Features
Name Type
body
KBlock?
type
KType? A
value
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KGreaterOrEqualToExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A

KGreaterThanExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A

KIdentityDifferentThanExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A

KIdentityEqualityExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A

KIfExpression Class

Super Classes
Local Features
Name Type
condition
KExpression? A
elseBody
KStatement? A
thenBody
KStatement? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KImport Class

Local Features
Name Type
all Boolean
imported String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KInfix Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KInstantiationExpression Class

Super Classes
Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KIntegerLiteral Class

Super Classes
Local Features
Name Type
value String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KInvokeExpression Class

Super Classes
Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KLambda Class

Super Classes
Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KLambdaParamDecl Class

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String
Used In

KLateInit Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KLessOrEqualToExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A

KLessThanExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A

KLiteral Class (Abstract) A

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes

KMemberAccessExpr Class

Super Classes
Local Features
Name Type
memberName String
qualifier
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KMemberCallExpr Class

Super Classes
Local Features
Name Type
args
List<KParameterValue>
memberName String
qualifier
KExpression? A
typeArguments
List<KType> A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KMethodDeclaration Class

Super Classes
Local Features
Name Type
modifiers
List<KModifier> A
value
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String
body
List<KStatement> A
params
List<KParameterDeclaration>
returnType
KType? A

KModifier Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KMultipleVariableDeclarator Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KName Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KObjectDeclaration Class

Super Classes
Local Features
Name Type
body
KClassBody?
delegationSpecifiers
List<KDelegationSpecifier> A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String

KOptionalType Class

Super Classes
Local Features
Name Type
base
KType? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KOverride Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KPackageDecl Class

Local Features
Name Type
name String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KParameterDeclaration Class

Super Classes
Local Features
Name Type
defaultValue
KExpression? A
persistence
KPersistence E
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String
type
KType? A
Used In

KParameterValue Class

Local Features
Name Type
name String?
value
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KPrimaryConstructor Class

Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KPropertyDeclaration Class

Super Classes
Local Features
Name Type
delegate
KDelegate?
getter
KGetter?
initializer
KExpression? A
modifiers
List<KModifier> A
receiverType
KType? A
setter
KSetter?
type
KPropertyType E
typeConstraints
List<KTypeConstraint>
typeParameters
List<KTypeParameter>
variableDeclarator
KVariableDeclarator? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KQualifiedName Class

Super Classes
Local Features
Name Type
container
KName? A
name String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KQuotedExpr Class

Super Classes
Local Features
Name Type
name String?
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KRefType Class

Super Classes
Local Features
Name Type
args
List<KType> A
type ReferenceByName?
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KReferenceExpr Class

Super Classes
Local Features
Name Type
symbol String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KReturnExpression Class

Super Classes
Local Features
Name Type
value
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KSetter Class

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KSimpleName Class

Super Classes
Local Features
Name Type
name String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KSimpleSuperType Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String

KSimpleTypeProjection Class

Super Classes
Local Features
Name Type
baseType
KType? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KSingleVariableDeclarator Class

Super Classes
Local Features
Name Type
type
KType? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String
annotations
List<KAnnotation>

KStandardDifferentThanExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A

KStandardEqualityExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
left
KExpression? A
right
KExpression? A

KStatement Class (Abstract) A

KStringLiteral Class

Super Classes
Local Features
Name Type
value String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KSuperType Class (Abstract) A

Super Classes
Local Features
Name Type
name String
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KSuperTypeInvocation Class

Super Classes
Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String

KThisExpression Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KThrowExpression Class

Super Classes
Local Features
Name Type
value
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KThrowStatement Class

Super Classes
Local Features
Name Type
exception
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KTopLevelDeclaration Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KTopLevelFunction Class

Super Classes
Local Features
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String

KTrue Class

Super Classes
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KTypeAlias Class

Super Classes
Local Features
Name Type
originalType
KType? A
typeParameters
List<KTypeParameter>
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String

KTypeConstraint Class

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KTypeParameter Class

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String
Used In

KTypeProjection Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes

KTyped Interface I

Local Features
Name Type
type
KType? A
Implementing Classes

KUniIsExpression Class

Super Classes
Local Features
Name Type
ktype
KType? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

KVariableDeclaration Class

Super Classes
Local Features
Name Type
initialValue
KExpression? A
persistence
KPersistence E
type
KType? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
name String?
name String

KVariableDeclarator Class (Abstract) A

Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Implementing Classes
Used In

KWhenClause Class

Local Features
Name Type
body
KStatement? A
condition
KExpression? A
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?
Used In

KWhenStatement Class

Super Classes
Local Features
Name Type
elseClause
KElseClause?
subject
KExpression? A
whenClauses
List<KWhenClause>
Inherited Features
Name Type
position Position?
origin Origin?
destination Destination?

Data Types

KPersistence E

Values
  • VAL
  • VAR
  • NONE

KPropertyType E

Values
  • VAL
  • VAR