CompoundAssignmentExpression

/**
* A compound assignment expression using
* `+=`, `-=`, `**=`, `*=`, `/=`, `%=`, `&=`, `|=`, `^=`, `<<=`, `>>=`, `>>>=`,
* `&&=`, `||=` or `??=`.
*/

Inherit from AssignmentExpression

Primary key: id: int

schema CompoundAssignmentExpression extends AssignmentExpression {
  @primary id: int
}

CompoundAssignmentExpression::getAnAncestor

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

CompoundAssignmentExpression::getLeft

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

CompoundAssignmentExpression::getLeftOperand

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

CompoundAssignmentExpression::getModifier

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

CompoundAssignmentExpression::getText

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

CompoundAssignmentExpression::getAComment

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

CompoundAssignmentExpression::getADecorator

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

CompoundAssignmentExpression::getADescendant

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

CompoundAssignmentExpression::getEnclosingFunction

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

CompoundAssignmentExpression::getParentOid

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

CompoundAssignmentExpression::getRoot

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

CompoundAssignmentExpression::getSymbol

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

CompoundAssignmentExpression::getAnAncestorEnclosingFunction

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

CompoundAssignmentExpression::getRelativePath

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

CompoundAssignmentExpression::getIndex

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

CompoundAssignmentExpression::getChildCount

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

CompoundAssignmentExpression::getStartLineNumber

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

CompoundAssignmentExpression::getAnOperand

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

CompoundAssignmentExpression::getAChild

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

CompoundAssignmentExpression::getStartColumnNumber

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

CompoundAssignmentExpression::getEndLineNumber

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

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

CompoundAssignmentExpression::getATrailingComment

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

CompoundAssignmentExpression::__all__

Data constraint method.

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

CompoundAssignmentExpression::getLocation

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

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

CompoundAssignmentExpression::getALeadingComment

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

CompoundAssignmentExpression::getFile

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

CompoundAssignmentExpression::getDecorator

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

CompoundAssignmentExpression::getRightOperand

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

CompoundAssignmentExpression::getChild

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

CompoundAssignmentExpression::getRight

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

CompoundAssignmentExpression::getOperator

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

CompoundAssignmentExpression::getAModifier

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

CompoundAssignmentExpression::getKind

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

CompoundAssignmentExpression::getEndColumnNumber

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

CompoundAssignmentExpression::getParent

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

CompoundAssignmentExpression::getLastChild

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