ktast
Toggle table of contents
0.10.0
common
Platform filter
common
Switch theme
ktast
ast
ktast.
ast
Dumper
Companion
Mutable
Visitor
Companion
Node
Context
Receiver
Declaration
Class
Declaration
Class
Or
Interface
Keyword
Primary
Constructor
Class
Or
Object
Class
Body
Enum
Entry
Initializer
Secondary
Constructor
Class
Declaration
Keyword
Class
Parent
Constructor
Class
Parent
Delegation
Class
Parent
Type
Class
Parent
Function
Declaration
Object
Declaration
Property
Declaration
Accessor
Getter
Setter
Script
Body
Script
Initializer
Type
Alias
Declaration
Expression
Annotated
Expression
Anonymous
Function
Expression
Binary
Expression
Binary
Operator
Binary
Type
Expression
Binary
Type
Operator
Block
Expression
Boolean
Literal
Expression
Break
Expression
Callable
Reference
Expression
Call
Expression
Character
Literal
Expression
Class
Literal
Expression
Collection
Literal
Expression
Constant
Literal
Expression
Continue
Expression
Double
Colon
Expression
If
Expression
Indexed
Access
Expression
Integer
Literal
Expression
Labeled
Expression
Lambda
Expression
Name
Expression
Null
Literal
Expression
Object
Literal
Expression
Parenthesized
Expression
Postfix
Unary
Expression
Prefix
Unary
Expression
Real
Literal
Expression
Return
Expression
String
Literal
Expression
Escape
String
Entry
Literal
String
Entry
String
Entry
Template
String
Entry
Super
Expression
This
Expression
Throw
Expression
Try
Expression
Catch
Clause
Unary
Expression
Unary
Operator
When
Expression
Conditional
When
Branch
Else
When
Branch
Expression
When
Condition
Range
When
Condition
Type
When
Condition
When
Branch
When
Condition
When
Condition
Operator
When
Condition
Range
Operator
When
Condition
Type
Operator
When
Subject
With
Label
Extra
Comment
Semicolon
Trailing
Comma
Whitespace
Function
Parameter
Import
Directive
Keyword
Abstract
Actual
And
And
Annotation
Arrow
As
As
Question
Asterisk
Asterisk
Equal
Class
Companion
Const
Constructor
Cross
Inline
Data
Delegate
Dot
Dot
Dot
Dot
Dot
Less
Enum
Equal
Equal
Expect
External
Field
File
Final
Fun
Get
Greater
Greater
Equal
In
Infix
Inline
Inner
Interface
Internal
Is
Late
Init
LBracket
Less
Less
Equal
LPar
Minus
Minus
Equal
Minus
Minus
Noinline
Not
Not
Equal
Not
In
Not
Is
Not
Not
Object
Open
Operator
Or
Or
Out
Override
Param
Percent
Percent
Equal
Plus
Plus
Equal
Plus
Plus
Private
Property
Protected
Public
Question
Question
Colon
Question
Dot
RBracket
Receiver
Reified
RPar
Sealed
Set
Set
Param
Slash
Slash
Equal
Suspend
Tail
Rec
Val
Val
Or
Var
Keyword
Value
Var
Vararg
When
Kotlin
File
Lambda
Parameter
Modifier
Annotation
Set
Annotation
Annotation
Target
Keyword
Modifier
Package
Directive
Post
Modifier
Contract
Type
Constraint
Set
Type
Constraint
Simple
Text
Node
Statement
Do
While
Statement
For
Statement
While
Statement
While
Statement
Base
Type
Dynamic
Type
Function
Type
Function
Type
Parameter
Nullable
Type
Parenthesized
Type
Simple
Type
Simple
Type
Qualifier
Type
Argument
Type
Parameter
Value
Argument
Variable
With
Annotation
Sets
With
Declarations
With
Function
Parameters
With
Modifiers
With
Post
Modifiers
With
Statements
With
Type
Arguments
With
Type
Parameters
With
Value
Arguments
Node
Path
Companion
Node
Supplement
Visitor
Companion
Writer
Companion
ktast.
builder
annotated
Expression()
annotation()
annotation
Set()
anonymous
Function
Expression()
binary
Expression()
binary
Type
Expression()
block
Expression()
boolean
Literal
Expression()
break
Expression()
callable
Reference
Expression()
call
Expression()
catch
Clause()
character
Literal
Expression()
class
Body()
class
Declaration()
class
Literal
Expression()
collection
Literal
Expression()
comment()
conditional
When
Branch()
constructor
Class
Parent()
context
Receiver()
continue
Expression()
contract()
delegation
Class
Parent()
do
While
Statement()
dynamic
Type()
else
When
Branch()
enum
Entry()
escape
String
Entry()
expression
When
Condition()
for
Statement()
function
Declaration()
function
Parameter()
function
Type()
function
Type
Parameter()
getter()
if
Expression()
import
Directive()
indexed
Access
Expression()
initializer()
integer
Literal
Expression()
kotlin
File()
labeled
Expression()
lambda
Expression()
lambda
Parameter()
literal
String
Entry()
name
Expression()
nullable
Type()
null
Literal
Expression()
object
Declaration()
object
Literal
Expression()
package
Directive()
parenthesized
Expression()
parenthesized
Type()
postfix
Unary
Expression()
prefix
Unary
Expression()
primary
Constructor()
property
Declaration()
range
When
Condition()
real
Literal
Expression()
return
Expression()
script
Body()
script
Initializer()
secondary
Constructor()
semicolon()
setter()
simple
Type()
simple
Type
Qualifier()
string
Literal
Expression()
super
Expression()
template
String
Entry()
this
Expression()
throw
Expression()
trailing
Comma()
try
Expression()
type
Alias
Declaration()
type
Argument()
type
Class
Parent()
type
Constraint()
type
Constraint
Set()
type
Parameter()
type
When
Condition()
value
Argument()
variable()
when
Expression()
when
Subject()
while
Statement()
whitespace()
ast-psi
ktast.
ast.
psi
Converter
Unsupported
Converter
With
Extras
Parser
Companion
Parse
Error
ast
/
ktast.ast
/
Node
/
Keyword
/
Reified
Reified
data
class
Reified
(
val
supplement
:
NodeSupplement
=
NodeSupplement()
)
:
Node.Keyword
,
Node.Modifier.KeywordModifier
Members
Constructors
Reified
Link copied to clipboard
constructor
(
supplement
:
NodeSupplement
=
NodeSupplement()
)
Properties
supplement
Link copied to clipboard
open
override
val
supplement
:
NodeSupplement
Supplemental data for the node.
text
Link copied to clipboard
open
override
val
text
:
String
text representation of the node.