TryExpression
data class TryExpression(val block: Node.Expression.BlockExpression, val catchClauses: List<Node.Expression.TryExpression.CatchClause>, val finallyBlock: Node.Expression.BlockExpression?, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression
AST node that represents a try expression. The node corresponds to KtTryExpression.
Constructors
Link copied to clipboard
constructor(block: Node.Expression.BlockExpression, catchClauses: List<Node.Expression.TryExpression.CatchClause>, finallyBlock: Node.Expression.BlockExpression?, supplement: NodeSupplement = NodeSupplement())
Types
Link copied to clipboard
data class CatchClause(val lPar: Node.Keyword.LPar, val parameters: List<Node.FunctionParameter>, val rPar: Node.Keyword.RPar, val block: Node.Expression.BlockExpression, val supplement: NodeSupplement = NodeSupplement()) : Node, Node.WithFunctionParameters
AST node that represents a catch clause. The node corresponds to KtCatchClause.