InExpression

/**
* An `in` expression.
*/

Inherit from RelationalExpression

Primary key: id: int

schema InExpression extends RelationalExpression {
  @primary id: int
}

InExpression::getAnAncestor

/**
* Gets an ancestor of this node. 
*/
pub fn getAnAncestor(self: InExpression) -> *Node;

InExpression::getLeft

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

InExpression::getLeftOperand

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

InExpression::getModifier

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

InExpression::getText

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

InExpression::getAComment

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

InExpression::getADecorator

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

InExpression::getADescendant

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

InExpression::getEnclosingFunction

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

InExpression::getParentOid

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

InExpression::getRoot

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

InExpression::getSymbol

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

InExpression::getAnAncestorEnclosingFunction

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

InExpression::getRelativePath

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

InExpression::getIndex

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

InExpression::getChildCount

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

InExpression::getStartLineNumber

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

InExpression::getAnOperand

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

InExpression::getAChild

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

InExpression::getStartColumnNumber

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

InExpression::getEndLineNumber

pub fn getEndLineNumber(self: InExpression) -> int;

InExpression::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: InExpression, level: int) -> Node;

InExpression::getATrailingComment

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

InExpression::__all__

Data constraint method.

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

InExpression::getLocation

/**
* Gets the location of this node.
*/
pub fn getLocation(self: InExpression) -> Location;

InExpression::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: InExpression, level: int) -> *Node;

InExpression::getALeadingComment

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

InExpression::getFile

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

InExpression::getDecorator

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

InExpression::getRightOperand

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

InExpression::getChild

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

InExpression::getRight

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

InExpression::getOperator

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

InExpression::getAModifier

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

InExpression::getKind

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

InExpression::getEndColumnNumber

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

InExpression::getParent

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

InExpression::getLastChild

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