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. 
*/
pub fn getAnAncestor(self: InstanceOfExpression) -> *Node;

InstanceOfExpression::getLeft

/**
* Get the left operand of this binary expression. An alias of `getLeftOperand`.
*/
pub fn getLeft(self: InstanceOfExpression) -> Expression;

InstanceOfExpression::getLeftOperand

/**
* Get the left operand of this binary expression.
*/
pub fn getLeftOperand(self: InstanceOfExpression) -> Expression;

InstanceOfExpression::getModifier

/**
* Gets the `i`th modifier.
*/
pub fn getModifier(self: InstanceOfExpression, i: int) -> Modifier;

InstanceOfExpression::getText

/**
* Gets the text of this node.
*/
pub fn getText(self: InstanceOfExpression) -> string;

InstanceOfExpression::getAComment

/**
* Gets the comments related to it
*/
pub fn getAComment(self: InstanceOfExpression) -> *Comment;

InstanceOfExpression::getADecorator

/**
* Gets a decorator.
*/
pub fn getADecorator(self: InstanceOfExpression) -> *Decorator;

InstanceOfExpression::getADescendant

/**
* Gets a descendant of this node. 
*/
pub fn getADescendant(self: InstanceOfExpression) -> *Node;

InstanceOfExpression::getEnclosingFunction

/**
* Gets the enclosing function of it
*/
pub fn getEnclosingFunction(self: InstanceOfExpression) -> FunctionLikeDeclaration;

InstanceOfExpression::getParentOid

/**
* Gets the parent oid of this node.
*/
pub fn getParentOid(self: InstanceOfExpression) -> int;

InstanceOfExpression::getRoot

/**
* Gets the root top-level of this node. 
*/
pub fn getRoot(self: InstanceOfExpression) -> TopLevelDO;

InstanceOfExpression::getSymbol

/**
* Gets the symbol associated with this node.
*/
pub fn getSymbol(self: InstanceOfExpression) -> Symbol;

InstanceOfExpression::getAnAncestorEnclosingFunction

/**
* Gets an ancestor enclosing function of it
*/
pub fn getAnAncestorEnclosingFunction(self: InstanceOfExpression) -> *FunctionLikeDeclaration;

InstanceOfExpression::getRelativePath

/**
* Gets the relative path of this node.
*/
pub fn getRelativePath(self: InstanceOfExpression) -> string;

InstanceOfExpression::getIndex

pub fn getIndex(self: InstanceOfExpression) -> int;

InstanceOfExpression::getChildCount

/**
* Gets the number of child nodes.
*/
pub fn getChildCount(self: InstanceOfExpression) -> int;

InstanceOfExpression::getStartLineNumber

pub fn getStartLineNumber(self: InstanceOfExpression) -> int;

InstanceOfExpression::getAnOperand

pub fn getAnOperand(self: InstanceOfExpression) -> *Expression;

InstanceOfExpression::getAChild

/**
* Gets a child node of this node.
*/
pub fn getAChild(self: InstanceOfExpression) -> *Node;

InstanceOfExpression::getStartColumnNumber

pub fn getStartColumnNumber(self: InstanceOfExpression) -> int;

InstanceOfExpression::getEndLineNumber

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.
*/
pub fn getAnAncestorByLevel(self: InstanceOfExpression, level: int) -> Node;

InstanceOfExpression::getATrailingComment

/**
* Gets the trailing comments of it
*/
pub fn getATrailingComment(self: InstanceOfExpression) -> *Comment;

InstanceOfExpression::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *InstanceOfExpression;

InstanceOfExpression::getLocation

/**
* Gets the location of this node.
*/
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.
*/
pub fn getADescendantByLevel(self: InstanceOfExpression, level: int) -> *Node;

InstanceOfExpression::getALeadingComment

/**
* Gets the leading comments of it
*/
pub fn getALeadingComment(self: InstanceOfExpression) -> *Comment;

InstanceOfExpression::getFile

/**
* Gets the file of this node.
*/
pub fn getFile(self: InstanceOfExpression) -> File;

InstanceOfExpression::getDecorator

/**
* Gets the `i`th decorator.
*/
pub fn getDecorator(self: InstanceOfExpression, i: int) -> Decorator;

InstanceOfExpression::getRightOperand

/**
* Get the right operand of this binary expression.
*/
pub fn getRightOperand(self: InstanceOfExpression) -> Expression;

InstanceOfExpression::getChild

/**
* Gets the `i`th child of this node.
*/
pub fn getChild(self: InstanceOfExpression, i: int) -> Node;

InstanceOfExpression::getRight

/**
* Get the right operand of this binary expression. An alias of `getRightOperand`
*/
pub fn getRight(self: InstanceOfExpression) -> Expression;

InstanceOfExpression::getOperator

/**
* Get the operator of this binary expression.
*/
pub fn getOperator(self: InstanceOfExpression) -> BinaryOperator;

InstanceOfExpression::getAModifier

/**
* Gets a modifier.
*/
pub fn getAModifier(self: InstanceOfExpression) -> *Modifier;

InstanceOfExpression::getKind

/**
* Get the syntax kind of this node
*/
pub fn getKind(self: InstanceOfExpression) -> int;

InstanceOfExpression::getEndColumnNumber

pub fn getEndColumnNumber(self: InstanceOfExpression) -> int;

InstanceOfExpression::getParent

/**
* Gets the parent node of this node.
*/
pub fn getParent(self: InstanceOfExpression) -> Node;

InstanceOfExpression::getLastChild

/**
* Gets the last child of this node parent.
*/
pub fn getLastChild(self: InstanceOfExpression) -> Node;