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