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