Class: Catch
Represents a catch block for handling exceptions thrown in a try block.
Constructors
Constructor
new Catch(
patterns,body,loc?):Catch
Parameters
| Parameter | Type |
|---|---|
patterns | Pattern[] |
body | Expression |
loc? | SourceLocation |
Returns
Catch
Overrides
ASTNode.constructor