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