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