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