DoWhileStatement
/**
* A `do`-`while` loop.
*/
Inherit from Statement
Primary key: id: int
schema DoWhileStatement extends Statement {
@primary id: int
}
DoWhileStatement::getSymbol
/**
* Gets the symbol associated with this node.
*/
- Parameter
self
:DoWhileStatement
- Return
Symbol
pub fn getSymbol(self: DoWhileStatement) -> Symbol;
DoWhileStatement::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:DoWhileStatement
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: DoWhileStatement) -> *FunctionLikeDeclaration;
DoWhileStatement::getIndex
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getIndex(self: DoWhileStatement) -> int;
DoWhileStatement::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getParentOid(self: DoWhileStatement) -> int;
DoWhileStatement::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
string
pub fn getRelativePath(self: DoWhileStatement) -> string;
DoWhileStatement::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:DoWhileStatement
- Return
Node
pub fn getLastChild(self: DoWhileStatement) -> Node;
DoWhileStatement::getEndColumnNumber
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getEndColumnNumber(self: DoWhileStatement) -> int;
DoWhileStatement::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
Node
pub fn getParent(self: DoWhileStatement) -> Node;
DoWhileStatement::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getKind(self: DoWhileStatement) -> int;
DoWhileStatement::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:DoWhileStatement
- Return
*Modifier
pub fn getAModifier(self: DoWhileStatement) -> *Modifier;
DoWhileStatement::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getChildCount(self: DoWhileStatement) -> int;
DoWhileStatement::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:DoWhileStatement
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: DoWhileStatement, i: int) -> Decorator;
DoWhileStatement::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:DoWhileStatement
- Parameter
i
:int
- Return
Node
pub fn getChild(self: DoWhileStatement, i: int) -> Node;
DoWhileStatement::getAnAncestor
/**
* Gets an ancestor of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
*Node
pub fn getAnAncestor(self: DoWhileStatement) -> *Node;
DoWhileStatement::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
TopLevelDO
pub fn getRoot(self: DoWhileStatement) -> TopLevelDO;
DoWhileStatement::getCondition
/**
* Gets the loop condition of this `do`-`while` loop.
*/
- Parameter
self
:DoWhileStatement
- Return
Expression
pub fn getCondition(self: DoWhileStatement) -> Expression;
DoWhileStatement::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
*Node
pub fn getAChild(self: DoWhileStatement) -> *Node;
DoWhileStatement::getStartColumnNumber
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getStartColumnNumber(self: DoWhileStatement) -> int;
DoWhileStatement::getStartLineNumber
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getStartLineNumber(self: DoWhileStatement) -> int;
DoWhileStatement::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*DoWhileStatement
pub fn __all__(db: JavascriptDB) -> *DoWhileStatement;
DoWhileStatement::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
Location
pub fn getLocation(self: DoWhileStatement) -> Location;
DoWhileStatement::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
:DoWhileStatement
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: DoWhileStatement, level: int) -> *Node;
DoWhileStatement::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:DoWhileStatement
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: DoWhileStatement) -> FunctionLikeDeclaration;
DoWhileStatement::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
*Node
pub fn getADescendant(self: DoWhileStatement) -> *Node;
DoWhileStatement::getEndLineNumber
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getEndLineNumber(self: DoWhileStatement) -> int;
DoWhileStatement::getBody
/**
* Gets the body of this `do`-`while` loop.
*/
- Parameter
self
:DoWhileStatement
- Return
Statement
pub fn getBody(self: DoWhileStatement) -> Statement;
DoWhileStatement::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:DoWhileStatement
- Return
*Comment
pub fn getATrailingComment(self: DoWhileStatement) -> *Comment;
DoWhileStatement::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
:DoWhileStatement
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: DoWhileStatement, level: int) -> Node;
DoWhileStatement::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:DoWhileStatement
- Return
*Comment
pub fn getALeadingComment(self: DoWhileStatement) -> *Comment;
DoWhileStatement::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
File
pub fn getFile(self: DoWhileStatement) -> File;
DoWhileStatement::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:DoWhileStatement
- Return
*Decorator
pub fn getADecorator(self: DoWhileStatement) -> *Decorator;
DoWhileStatement::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:DoWhileStatement
- Return
*Comment
pub fn getAComment(self: DoWhileStatement) -> *Comment;
DoWhileStatement::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:DoWhileStatement
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: DoWhileStatement, i: int) -> Modifier;
DoWhileStatement::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:DoWhileStatement
- Return
string
pub fn getText(self: DoWhileStatement) -> string;