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