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.
*/
- Parameter
self
:ThrowStatement
- Return
Symbol
pub fn getSymbol(self: ThrowStatement) -> Symbol;
ThrowStatement::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:ThrowStatement
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: ThrowStatement) -> *FunctionLikeDeclaration;
ThrowStatement::getIndex
- Parameter
self
:ThrowStatement
- Return
int
pub fn getIndex(self: ThrowStatement) -> int;
ThrowStatement::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:ThrowStatement
- Return
int
pub fn getParentOid(self: ThrowStatement) -> int;
ThrowStatement::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:ThrowStatement
- Return
string
pub fn getRelativePath(self: ThrowStatement) -> string;
ThrowStatement::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:ThrowStatement
- Return
Node
pub fn getLastChild(self: ThrowStatement) -> Node;
ThrowStatement::getEndColumnNumber
- Parameter
self
:ThrowStatement
- Return
int
pub fn getEndColumnNumber(self: ThrowStatement) -> int;
ThrowStatement::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:ThrowStatement
- Return
int
pub fn getKind(self: ThrowStatement) -> int;
ThrowStatement::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:ThrowStatement
- Return
*Modifier
pub fn getAModifier(self: ThrowStatement) -> *Modifier;
ThrowStatement::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:ThrowStatement
- Return
int
pub fn getChildCount(self: ThrowStatement) -> int;
ThrowStatement::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:ThrowStatement
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: ThrowStatement, i: int) -> Decorator;
ThrowStatement::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:ThrowStatement
- Parameter
i
:int
- Return
Node
pub fn getChild(self: ThrowStatement, i: int) -> Node;
ThrowStatement::getAnAncestor
/**
* Gets an ancestor of this node.
*/
- Parameter
self
:ThrowStatement
- Return
*Node
pub fn getAnAncestor(self: ThrowStatement) -> *Node;
ThrowStatement::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:ThrowStatement
- Return
*Node
pub fn getAChild(self: ThrowStatement) -> *Node;
ThrowStatement::getStartColumnNumber
- Parameter
self
:ThrowStatement
- Return
int
pub fn getStartColumnNumber(self: ThrowStatement) -> int;
ThrowStatement::getStartLineNumber
- Parameter
self
:ThrowStatement
- Return
int
pub fn getStartLineNumber(self: ThrowStatement) -> int;
ThrowStatement::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*ThrowStatement
pub fn __all__(db: JavascriptDB) -> *ThrowStatement;
ThrowStatement::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:ThrowStatement
- Return
Location
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.
*/
- Parameter
self
:ThrowStatement
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: ThrowStatement, level: int) -> *Node;
ThrowStatement::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:ThrowStatement
- Return
*Node
pub fn getADescendant(self: ThrowStatement) -> *Node;
ThrowStatement::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:ThrowStatement
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: ThrowStatement) -> FunctionLikeDeclaration;
ThrowStatement::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:ThrowStatement
- Return
TopLevelDO
pub fn getRoot(self: ThrowStatement) -> TopLevelDO;
ThrowStatement::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:ThrowStatement
- Return
Node
pub fn getParent(self: ThrowStatement) -> Node;
ThrowStatement::getExpression
/**
* Gets the expression throwed by this ThrowStatement.
*/
- Parameter
self
:ThrowStatement
- Return
Expression
pub fn getExpression(self: ThrowStatement) -> Expression;
ThrowStatement::getEndLineNumber
- Parameter
self
:ThrowStatement
- Return
int
pub fn getEndLineNumber(self: ThrowStatement) -> int;
ThrowStatement::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:ThrowStatement
- Return
*Comment
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.
*/
- Parameter
self
:ThrowStatement
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: ThrowStatement, level: int) -> Node;
ThrowStatement::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:ThrowStatement
- Return
*Comment
pub fn getALeadingComment(self: ThrowStatement) -> *Comment;
ThrowStatement::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:ThrowStatement
- Return
File
pub fn getFile(self: ThrowStatement) -> File;
ThrowStatement::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:ThrowStatement
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: ThrowStatement, i: int) -> Modifier;
ThrowStatement::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:ThrowStatement
- Return
string
pub fn getText(self: ThrowStatement) -> string;
ThrowStatement::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:ThrowStatement
- Return
*Comment
pub fn getAComment(self: ThrowStatement) -> *Comment;
ThrowStatement::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:ThrowStatement
- Return
*Decorator
pub fn getADecorator(self: ThrowStatement) -> *Decorator;