ThrowStatement

/**
* A `throw` statement
*/

Inherit from Statement

Primary key: id: int

schema ThrowStatement extends Statement {
  @primary id: int
}

ThrowStatement::getSymbol

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

ThrowStatement::getAnAncestorEnclosingFunction

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

ThrowStatement::getIndex

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

ThrowStatement::getParentOid

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

ThrowStatement::getRelativePath

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

ThrowStatement::getLastChild

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

ThrowStatement::getEndColumnNumber

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

ThrowStatement::getKind

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

ThrowStatement::getAModifier

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

ThrowStatement::getChildCount

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

ThrowStatement::getDecorator

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

ThrowStatement::getChild

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

ThrowStatement::getAnAncestor

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

ThrowStatement::getAChild

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

ThrowStatement::getStartColumnNumber

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

ThrowStatement::getStartLineNumber

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

ThrowStatement::__all__

Data constraint method.

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

ThrowStatement::getLocation

/**
* Gets the location of this node.
*/
pub fn getLocation(self: ThrowStatement) -> Location;

ThrowStatement::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: ThrowStatement, level: int) -> *Node;

ThrowStatement::getADescendant

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

ThrowStatement::getEnclosingFunction

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

ThrowStatement::getRoot

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

ThrowStatement::getParent

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

ThrowStatement::getExpression

/**
* Gets the expression throwed by this ThrowStatement.
*/
pub fn getExpression(self: ThrowStatement) -> Expression;

ThrowStatement::getEndLineNumber

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

ThrowStatement::getATrailingComment

/**
* Gets the trailing comments of it
*/
pub fn getATrailingComment(self: ThrowStatement) -> *Comment;

ThrowStatement::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: ThrowStatement, level: int) -> Node;

ThrowStatement::getALeadingComment

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

ThrowStatement::getFile

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

ThrowStatement::getModifier

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

ThrowStatement::getText

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

ThrowStatement::getAComment

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

ThrowStatement::getADecorator

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