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