NullishAssignmentExpression

/**
* A nullish assignment expression using `??=`.
*/

Inherit from CompoundAssignmentExpression

Primary key: id: int

schema NullishAssignmentExpression extends CompoundAssignmentExpression {
  @primary id: int
}

NullishAssignmentExpression::getLastChild

/**
* Gets the last child of this node parent.
*/
pub fn getLastChild(self: NullishAssignmentExpression) -> Node;

NullishAssignmentExpression::getParent

/**
* Gets the parent node of this node.
*/
pub fn getParent(self: NullishAssignmentExpression) -> Node;

NullishAssignmentExpression::getEndColumnNumber

pub fn getEndColumnNumber(self: NullishAssignmentExpression) -> int;

NullishAssignmentExpression::getKind

/**
* Get the syntax kind of this node
*/
pub fn getKind(self: NullishAssignmentExpression) -> int;

NullishAssignmentExpression::getAModifier

/**
* Gets a modifier.
*/
pub fn getAModifier(self: NullishAssignmentExpression) -> *Modifier;

NullishAssignmentExpression::getOperator

/**
* Get the operator of this binary expression.
*/
pub fn getOperator(self: NullishAssignmentExpression) -> BinaryOperator;

NullishAssignmentExpression::getRight

/**
* Get the right operand of this binary expression. An alias of `getRightOperand`
*/
pub fn getRight(self: NullishAssignmentExpression) -> Expression;

NullishAssignmentExpression::getChild

/**
* Gets the `i`th child of this node.
*/
pub fn getChild(self: NullishAssignmentExpression, i: int) -> Node;

NullishAssignmentExpression::getRightOperand

/**
* Get the right operand of this binary expression.
*/
pub fn getRightOperand(self: NullishAssignmentExpression) -> Expression;

NullishAssignmentExpression::getDecorator

/**
* Gets the `i`th decorator.
*/
pub fn getDecorator(self: NullishAssignmentExpression, i: int) -> Decorator;

NullishAssignmentExpression::getFile

/**
* Gets the file of this node.
*/
pub fn getFile(self: NullishAssignmentExpression) -> File;

NullishAssignmentExpression::getALeadingComment

/**
* Gets the leading comments of it
*/
pub fn getALeadingComment(self: NullishAssignmentExpression) -> *Comment;

NullishAssignmentExpression::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.
*/
pub fn getADescendantByLevel(self: NullishAssignmentExpression, level: int) -> *Node;

NullishAssignmentExpression::getLocation

/**
* Gets the location of this node.
*/
pub fn getLocation(self: NullishAssignmentExpression) -> Location;

NullishAssignmentExpression::getATrailingComment

/**
* Gets the trailing comments of it
*/
pub fn getATrailingComment(self: NullishAssignmentExpression) -> *Comment;

NullishAssignmentExpression::getParentOid

/**
* Gets the parent oid of this node.
*/
pub fn getParentOid(self: NullishAssignmentExpression) -> int;

NullishAssignmentExpression::getADescendant

/**
* Gets a descendant of this node. 
*/
pub fn getADescendant(self: NullishAssignmentExpression) -> *Node;

NullishAssignmentExpression::getEnclosingFunction

/**
* Gets the enclosing function of it
*/
pub fn getEnclosingFunction(self: NullishAssignmentExpression) -> FunctionLikeDeclaration;

NullishAssignmentExpression::getRoot

/**
* Gets the root top-level of this node. 
*/
pub fn getRoot(self: NullishAssignmentExpression) -> TopLevelDO;

NullishAssignmentExpression::getAnAncestor

/**
* Gets an ancestor of this node. 
*/
pub fn getAnAncestor(self: NullishAssignmentExpression) -> *Node;

NullishAssignmentExpression::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *NullishAssignmentExpression;

NullishAssignmentExpression::getAComment

/**
* Gets the comments related to it
*/
pub fn getAComment(self: NullishAssignmentExpression) -> *Comment;

NullishAssignmentExpression::getADecorator

/**
* Gets a decorator.
*/
pub fn getADecorator(self: NullishAssignmentExpression) -> *Decorator;

NullishAssignmentExpression::getLeft

/**
* Get the left operand of this binary expression. An alias of `getLeftOperand`.
*/
pub fn getLeft(self: NullishAssignmentExpression) -> Expression;

NullishAssignmentExpression::getLeftOperand

/**
* Get the left operand of this binary expression.
*/
pub fn getLeftOperand(self: NullishAssignmentExpression) -> Expression;

NullishAssignmentExpression::getText

/**
* Gets the text of this node.
*/
pub fn getText(self: NullishAssignmentExpression) -> string;

NullishAssignmentExpression::getModifier

/**
* Gets the `i`th modifier.
*/
pub fn getModifier(self: NullishAssignmentExpression, i: int) -> Modifier;

NullishAssignmentExpression::getSymbol

/**
* Gets the symbol associated with this node.
*/
pub fn getSymbol(self: NullishAssignmentExpression) -> Symbol;

NullishAssignmentExpression::getAnAncestorEnclosingFunction

/**
* Gets an ancestor enclosing function of it
*/
pub fn getAnAncestorEnclosingFunction(self: NullishAssignmentExpression) -> *FunctionLikeDeclaration;

NullishAssignmentExpression::getIndex

pub fn getIndex(self: NullishAssignmentExpression) -> int;

NullishAssignmentExpression::getRelativePath

/**
* Gets the relative path of this node.
*/
pub fn getRelativePath(self: NullishAssignmentExpression) -> string;

NullishAssignmentExpression::getChildCount

/**
* Gets the number of child nodes.
*/
pub fn getChildCount(self: NullishAssignmentExpression) -> int;

NullishAssignmentExpression::getStartLineNumber

pub fn getStartLineNumber(self: NullishAssignmentExpression) -> int;

NullishAssignmentExpression::getAnOperand

pub fn getAnOperand(self: NullishAssignmentExpression) -> *Expression;

NullishAssignmentExpression::getAChild

/**
* Gets a child node of this node.
*/
pub fn getAChild(self: NullishAssignmentExpression) -> *Node;

NullishAssignmentExpression::getStartColumnNumber

pub fn getStartColumnNumber(self: NullishAssignmentExpression) -> int;

NullishAssignmentExpression::getEndLineNumber

pub fn getEndLineNumber(self: NullishAssignmentExpression) -> int;

NullishAssignmentExpression::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.
*/
pub fn getAnAncestorByLevel(self: NullishAssignmentExpression, level: int) -> Node;