AdditiveOperator

/**
* An additive operator `+` or `-`.
*/

Inherit from Token

Primary key: id: int

schema AdditiveOperator extends Token {
  @primary id: int
}

AdditiveOperator::getSymbol

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

AdditiveOperator::getAnAncestorEnclosingFunction

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

AdditiveOperator::getIndex

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

AdditiveOperator::getParentOid

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

AdditiveOperator::getRelativePath

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

AdditiveOperator::getLastChild

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

AdditiveOperator::getEndColumnNumber

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

AdditiveOperator::getParent

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

AdditiveOperator::getChildCount

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

AdditiveOperator::getDecorator

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

AdditiveOperator::getEndLineNumber

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

AdditiveOperator::getATrailingComment

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

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

AdditiveOperator::getChild

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

AdditiveOperator::getRoot

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

AdditiveOperator::getAChild

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

AdditiveOperator::getStartColumnNumber

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

AdditiveOperator::getStartLineNumber

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

AdditiveOperator::__all__

Data constraint method.

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

AdditiveOperator::getLocation

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

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

AdditiveOperator::getKind

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

AdditiveOperator::getAModifier

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

AdditiveOperator::getAnAncestor

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

AdditiveOperator::getEnclosingFunction

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

AdditiveOperator::getADescendant

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

AdditiveOperator::getALeadingComment

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

AdditiveOperator::getFile

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

AdditiveOperator::getModifier

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

AdditiveOperator::getText

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

AdditiveOperator::getAComment

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

AdditiveOperator::getADecorator

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