CatchClause

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.

Constructors

Link copied to clipboard
constructor(lPar: Node.Keyword.LPar, parameters: List<Node.FunctionParameter>, rPar: Node.Keyword.RPar, block: Node.Expression.BlockExpression, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard
Link copied to clipboard
open override val lPar: Node.Keyword.LPar

left parenthesis of the function parameters.

Link copied to clipboard

list of parameters of the catch clause.

Link copied to clipboard
open override val rPar: Node.Keyword.RPar

right parenthesis of the function parameters.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.