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