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