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.
*/
pub fn getSymbol(self: DoWhileStatement) -> Symbol;

DoWhileStatement::getAnAncestorEnclosingFunction

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

DoWhileStatement::getIndex

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

DoWhileStatement::getParentOid

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

DoWhileStatement::getRelativePath

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

DoWhileStatement::getLastChild

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

DoWhileStatement::getEndColumnNumber

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

DoWhileStatement::getParent

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

DoWhileStatement::getKind

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

DoWhileStatement::getAModifier

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

DoWhileStatement::getChildCount

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

DoWhileStatement::getDecorator

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

DoWhileStatement::getChild

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

DoWhileStatement::getAnAncestor

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

DoWhileStatement::getRoot

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

DoWhileStatement::getCondition

/** 
* Gets the loop condition of this `do`-`while` loop. 
*/
pub fn getCondition(self: DoWhileStatement) -> Expression;

DoWhileStatement::getAChild

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

DoWhileStatement::getStartColumnNumber

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

DoWhileStatement::getStartLineNumber

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

DoWhileStatement::__all__

Data constraint method.

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

DoWhileStatement::getLocation

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

DoWhileStatement::getEnclosingFunction

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

DoWhileStatement::getADescendant

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

DoWhileStatement::getEndLineNumber

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

DoWhileStatement::getBody

/** 
* Gets the body of this `do`-`while` loop. 
*/
pub fn getBody(self: DoWhileStatement) -> Statement;

DoWhileStatement::getATrailingComment

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

DoWhileStatement::getALeadingComment

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

DoWhileStatement::getFile

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

DoWhileStatement::getADecorator

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

DoWhileStatement::getAComment

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

DoWhileStatement::getModifier

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

DoWhileStatement::getText

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