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