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