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