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