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