BinaryOperator

/**
* A binary operator.
*/

Inherit from Token

Primary key: id: int

schema BinaryOperator extends Token {
  @primary id: int
}

BinaryOperator::getSymbol

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

BinaryOperator::getAnAncestorEnclosingFunction

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

BinaryOperator::getIndex

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

BinaryOperator::getParentOid

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

BinaryOperator::getRelativePath

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

BinaryOperator::getLastChild

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

BinaryOperator::getEndColumnNumber

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

BinaryOperator::getParent

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

BinaryOperator::getChildCount

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

BinaryOperator::getDecorator

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

BinaryOperator::getEndLineNumber

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

BinaryOperator::getATrailingComment

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

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

BinaryOperator::getChild

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

BinaryOperator::getRoot

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

BinaryOperator::getAChild

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

BinaryOperator::getStartColumnNumber

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

BinaryOperator::getStartLineNumber

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

BinaryOperator::__all__

Data constraint method.

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

BinaryOperator::getLocation

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

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

BinaryOperator::getKind

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

BinaryOperator::getAModifier

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

BinaryOperator::getAnAncestor

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

BinaryOperator::getEnclosingFunction

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

BinaryOperator::getADescendant

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

BinaryOperator::getALeadingComment

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

BinaryOperator::getFile

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

BinaryOperator::getModifier

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

BinaryOperator::getText

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

BinaryOperator::getAComment

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

BinaryOperator::getADecorator

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