CatchClause
Inherit from Statement
Primary key: id: int
schema CatchClause extends Statement { @primary id: int }
CatchClause::getSymbol
/** * Gets the symbol associated with this node. */
- Parameter
self
:CatchClause
- Return
Symbol
pub fn getSymbol(self: CatchClause) -> Symbol;
CatchClause::getAnAncestorEnclosingFunction
/** * Gets an ancestor enclosing function of it */
- Parameter
self
:CatchClause
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: CatchClause) -> *FunctionLikeDeclaration;
CatchClause::getIndex
- Parameter
self
:CatchClause
- Return
int
pub fn getIndex(self: CatchClause) -> int;
CatchClause::getParentOid
/** * Gets the parent oid of this node. */
- Parameter
self
:CatchClause
- Return
int
pub fn getParentOid(self: CatchClause) -> int;
CatchClause::getRelativePath
/** * Gets the relative path of this node. */
- Parameter
self
:CatchClause
- Return
string
pub fn getRelativePath(self: CatchClause) -> string;
CatchClause::getLastChild
/** * Gets the last child of this node parent. */
- Parameter
self
:CatchClause
- Return
Node
pub fn getLastChild(self: CatchClause) -> Node;
CatchClause::getEndColumnNumber
- Parameter
self
:CatchClause
- Return
int
pub fn getEndColumnNumber(self: CatchClause) -> int;
CatchClause::getParent
/** * Gets the parent node of this node. */
- Parameter
self
:CatchClause
- Return
Node
pub fn getParent(self: CatchClause) -> Node;
CatchClause::getKind
/** * Get the syntax kind of this node */
- Parameter
self
:CatchClause
- Return
int
pub fn getKind(self: CatchClause) -> int;
CatchClause::getAModifier
/** * Gets a modifier. */
- Parameter
self
:CatchClause
- Return
*Modifier
pub fn getAModifier(self: CatchClause) -> *Modifier;
CatchClause::getADecorator
/** * Gets a decorator. */
- Parameter
self
:CatchClause
- Return
*Decorator
pub fn getADecorator(self: CatchClause) -> *Decorator;
CatchClause::getAComment
/** * Gets the comments related to it */
- Parameter
self
:CatchClause
- Return
*Comment
pub fn getAComment(self: CatchClause) -> *Comment;
CatchClause::getChildCount
/** * Gets the number of child nodes. */
- Parameter
self
:CatchClause
- Return
int
pub fn getChildCount(self: CatchClause) -> int;
CatchClause::getDecorator
/** * Gets the `i`th decorator. */
- Parameter
self
:CatchClause
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: CatchClause, i: int) -> Decorator;
CatchClause::getChild
/** * Gets the `i`th child of this node. */
- Parameter
self
:CatchClause
- Parameter
i
:int
- Return
Node
pub fn getChild(self: CatchClause, i: int) -> Node;
CatchClause::getAnAncestor
/** * Gets an ancestor of this node. */
- Parameter
self
:CatchClause
- Return
*Node
pub fn getAnAncestor(self: CatchClause) -> *Node;
CatchClause::getRoot
/** * Gets the root top-level of this node. */
- Parameter
self
:CatchClause
- Return
TopLevelDO
pub fn getRoot(self: CatchClause) -> TopLevelDO;
CatchClause::getADescendant
/** * Gets a descendant of this node. */
- Parameter
self
:CatchClause
- Return
*Node
pub fn getADescendant(self: CatchClause) -> *Node;
CatchClause::getEnclosingFunction
/** * Gets the enclosing function of it */
- Parameter
self
:CatchClause
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: CatchClause) -> FunctionLikeDeclaration;
CatchClause::getVariableDeclaration
/** * Gets the variable declaration of this CatchClause. */
- Parameter
self
:CatchClause
- Return
VariableDeclaration
pub fn getVariableDeclaration(self: CatchClause) -> VariableDeclaration;
CatchClause::getEndLineNumber
- Parameter
self
:CatchClause
- Return
int
pub fn getEndLineNumber(self: CatchClause) -> int;
CatchClause::getATrailingComment
/** * Gets the trailing comments of it */
- Parameter
self
:CatchClause
- Return
*Comment
pub fn getATrailingComment(self: CatchClause) -> *Comment;
CatchClause::getAnAncestorByLevel
/** * Gets an ancestor of this node by the level of the hierarchy. * * @param level: the number of levels to go up in the hierarchy. */
- Parameter
self
:CatchClause
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: CatchClause, level: int) -> Node;
CatchClause::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*CatchClause
pub fn __all__(db: JavascriptDB) -> *CatchClause;
CatchClause::getLocation
/** * Gets the location of this node. */
- Parameter
self
:CatchClause
- Return
Location
pub fn getLocation(self: CatchClause) -> Location;
CatchClause::getADescendantByLevel
/** * Gets a descendant of this node by the level of the hierarchy. * * @param level: the number of levels to go up in the hierarchy. */
- Parameter
self
:CatchClause
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: CatchClause, level: int) -> *Node;
CatchClause::getBlock
/** * Gets the catch block of this CatchClause. */
- Parameter
self
:CatchClause
- Return
BlockStatement
pub fn getBlock(self: CatchClause) -> BlockStatement;
CatchClause::getAChild
/** * Gets a child node of this node. */
- Parameter
self
:CatchClause
- Return
*Node
pub fn getAChild(self: CatchClause) -> *Node;
CatchClause::getStartColumnNumber
- Parameter
self
:CatchClause
- Return
int
pub fn getStartColumnNumber(self: CatchClause) -> int;
CatchClause::haveVariableDeclaration
/** * Determine this CatchClause has variable declaration or not. */
- Parameter
self
:CatchClause
- Return
bool
pub fn haveVariableDeclaration(self: CatchClause) -> bool;
CatchClause::getStartLineNumber
- Parameter
self
:CatchClause
- Return
int
pub fn getStartLineNumber(self: CatchClause) -> int;
CatchClause::getALeadingComment
/** * Gets the leading comments of it */
- Parameter
self
:CatchClause
- Return
*Comment
pub fn getALeadingComment(self: CatchClause) -> *Comment;
CatchClause::getFile
/** * Gets the file of this node. */
- Parameter
self
:CatchClause
- Return
File
pub fn getFile(self: CatchClause) -> File;
CatchClause::getModifier
/** * Gets the `i`th modifier. */
- Parameter
self
:CatchClause
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: CatchClause, i: int) -> Modifier;
CatchClause::getText
/** * Gets the text of this node. */
- Parameter
self
:CatchClause
- Return
string
pub fn getText(self: CatchClause) -> string;