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