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