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