CatchClause

Inherit from Statement

Primary key: id: int

schema CatchClause extends Statement {
  @primary id: int
}

CatchClause::getSymbol

/**
* Gets the symbol associated with this node.
*/
pub fn getSymbol(self: CatchClause) -> Symbol;

CatchClause::getAnAncestorEnclosingFunction

/**
* Gets an ancestor enclosing function of it
*/
pub fn getAnAncestorEnclosingFunction(self: CatchClause) -> *FunctionLikeDeclaration;

CatchClause::getIndex

pub fn getIndex(self: CatchClause) -> int;

CatchClause::getParentOid

/**
* Gets the parent oid of this node.
*/
pub fn getParentOid(self: CatchClause) -> int;

CatchClause::getRelativePath

/**
* Gets the relative path of this node.
*/
pub fn getRelativePath(self: CatchClause) -> string;

CatchClause::getLastChild

/**
* Gets the last child of this node parent.
*/
pub fn getLastChild(self: CatchClause) -> Node;

CatchClause::getEndColumnNumber

pub fn getEndColumnNumber(self: CatchClause) -> int;

CatchClause::getParent

/**
* Gets the parent node of this node.
*/
pub fn getParent(self: CatchClause) -> Node;

CatchClause::getKind

/**
* Get the syntax kind of this node
*/
pub fn getKind(self: CatchClause) -> int;

CatchClause::getAModifier

/**
* Gets a modifier.
*/
pub fn getAModifier(self: CatchClause) -> *Modifier;

CatchClause::getADecorator

/**
* Gets a decorator.
*/
pub fn getADecorator(self: CatchClause) -> *Decorator;

CatchClause::getAComment

/**
* Gets the comments related to it
*/
pub fn getAComment(self: CatchClause) -> *Comment;

CatchClause::getChildCount

/**
* Gets the number of child nodes.
*/
pub fn getChildCount(self: CatchClause) -> int;

CatchClause::getDecorator

/**
* Gets the `i`th decorator.
*/
pub fn getDecorator(self: CatchClause, i: int) -> Decorator;

CatchClause::getChild

/**
* Gets the `i`th child of this node.
*/
pub fn getChild(self: CatchClause, i: int) -> Node;

CatchClause::getAnAncestor

/**
* Gets an ancestor of this node. 
*/
pub fn getAnAncestor(self: CatchClause) -> *Node;

CatchClause::getRoot

/**
* Gets the root top-level of this node. 
*/
pub fn getRoot(self: CatchClause) -> TopLevelDO;

CatchClause::getADescendant

/**
* Gets a descendant of this node. 
*/
pub fn getADescendant(self: CatchClause) -> *Node;

CatchClause::getEnclosingFunction

/**
* Gets the enclosing function of it
*/
pub fn getEnclosingFunction(self: CatchClause) -> FunctionLikeDeclaration;

CatchClause::getVariableDeclaration

/**
* Gets the variable declaration of this CatchClause.
*/
pub fn getVariableDeclaration(self: CatchClause) -> VariableDeclaration;

CatchClause::getEndLineNumber

pub fn getEndLineNumber(self: CatchClause) -> int;

CatchClause::getATrailingComment

/**
* Gets the trailing comments of it
*/
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.
*/
pub fn getAnAncestorByLevel(self: CatchClause, level: int) -> Node;

CatchClause::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *CatchClause;

CatchClause::getLocation

/**
* Gets the location of this node.
*/
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.
*/
pub fn getADescendantByLevel(self: CatchClause, level: int) -> *Node;

CatchClause::getBlock

/**
* Gets the catch block of this CatchClause.
*/
pub fn getBlock(self: CatchClause) -> BlockStatement;

CatchClause::getAChild

/**
* Gets a child node of this node.
*/
pub fn getAChild(self: CatchClause) -> *Node;

CatchClause::getStartColumnNumber

pub fn getStartColumnNumber(self: CatchClause) -> int;

CatchClause::haveVariableDeclaration

/**
* Determine this CatchClause has variable declaration or not.
*/
pub fn haveVariableDeclaration(self: CatchClause) -> bool;

CatchClause::getStartLineNumber

pub fn getStartLineNumber(self: CatchClause) -> int;

CatchClause::getALeadingComment

/**
* Gets the leading comments of it
*/
pub fn getALeadingComment(self: CatchClause) -> *Comment;

CatchClause::getFile

/**
* Gets the file of this node.
*/
pub fn getFile(self: CatchClause) -> File;

CatchClause::getModifier

/**
* Gets the `i`th modifier.
*/
pub fn getModifier(self: CatchClause, i: int) -> Modifier;

CatchClause::getText

/**
* Gets the text of this node.
*/
pub fn getText(self: CatchClause) -> string;