Statement
Common interface for Declaration, Expression and loop statements.
Inheritors
Types
Link copied to clipboard
data class DoWhileStatement(val body: Node.Expression, val lPar: Node.Keyword.LPar, val condition: Node.Expression, val rPar: Node.Keyword.RPar, val supplement: NodeSupplement = NodeSupplement()) : Node.Statement.WhileStatementBase
AST node that represents a do-while statement. The node corresponds to KtDoWhileExpression.
Link copied to clipboard
data class ForStatement(val lPar: Node.Keyword.LPar, val loopParameter: Node.LambdaParameter, val inKeyword: Node.Keyword.In, val loopRange: Node.Expression, val rPar: Node.Keyword.RPar, val body: Node.Expression, val supplement: NodeSupplement = NodeSupplement()) : Node.Statement
AST node that represents a for statement. The node corresponds to KtForExpression.
Link copied to clipboard
data class WhileStatement(val lPar: Node.Keyword.LPar, val condition: Node.Expression, val rPar: Node.Keyword.RPar, val body: Node.Expression, val supplement: NodeSupplement = NodeSupplement()) : Node.Statement.WhileStatementBase
AST node that represents a while statement. The node corresponds to KtWhileExpression.
Link copied to clipboard
Common interface for WhileStatement and DoWhileStatement.