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