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