NullishCoalescingExpression

/**
* A nullish coalescing expression using `??`.
*/

Inherit from BinaryLogicalExpression

Primary key: id: int

schema NullishCoalescingExpression extends BinaryLogicalExpression {
  @primary id: int
}

NullishCoalescingExpression::getAnAncestor

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

NullishCoalescingExpression::getLeft

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

NullishCoalescingExpression::getLeftOperand

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

NullishCoalescingExpression::getModifier

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

NullishCoalescingExpression::getText

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

NullishCoalescingExpression::getAComment

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

NullishCoalescingExpression::getADecorator

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

NullishCoalescingExpression::getADescendant

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

NullishCoalescingExpression::getEnclosingFunction

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

NullishCoalescingExpression::getParentOid

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

NullishCoalescingExpression::getRoot

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

NullishCoalescingExpression::getSymbol

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

NullishCoalescingExpression::getAnAncestorEnclosingFunction

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

NullishCoalescingExpression::getRelativePath

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

NullishCoalescingExpression::getIndex

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

NullishCoalescingExpression::getChildCount

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

NullishCoalescingExpression::getStartLineNumber

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

NullishCoalescingExpression::getAnOperand

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

NullishCoalescingExpression::getAChild

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

NullishCoalescingExpression::getStartColumnNumber

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

NullishCoalescingExpression::getEndLineNumber

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

NullishCoalescingExpression::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: NullishCoalescingExpression, level: int) -> Node;

NullishCoalescingExpression::getATrailingComment

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

NullishCoalescingExpression::__all__

Data constraint method.

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

NullishCoalescingExpression::getLocation

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

NullishCoalescingExpression::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: NullishCoalescingExpression, level: int) -> *Node;

NullishCoalescingExpression::getALeadingComment

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

NullishCoalescingExpression::getFile

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

NullishCoalescingExpression::getDecorator

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

NullishCoalescingExpression::getRightOperand

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

NullishCoalescingExpression::getChild

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

NullishCoalescingExpression::getRight

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

NullishCoalescingExpression::getOperator

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

NullishCoalescingExpression::getAModifier

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

NullishCoalescingExpression::getKind

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

NullishCoalescingExpression::getEndColumnNumber

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

NullishCoalescingExpression::getParent

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

NullishCoalescingExpression::getLastChild

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