Declaration
Common interface for AST nodes that are main contents of a Kotlin file or a class body.
Inheritors
Types
AST node that represents a class or interface declaration. The node corresponds to KtClass.
Common interface for ClassDeclaration and ObjectDeclaration.
AST node that represents a function declaration. The node corresponds to KtNamedFunction.
AST node that represents an object declaration. The node corresponds to KtObjectDeclaration.
AST node that represents a property declaration. The node corresponds to KtProperty or KtDestructuringDeclaration.
AST node that represents a body of Kotlin script. The node corresponds to KtScript and its child KtBlockExpression.
AST node that represents a script initializer, which wraps non-declaration statements in the script. The node corresponds to KtScriptInitializer.
AST node that represents a type alias declaration. The node corresponds to KtTypeAlias.