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

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

UnaryMinusExpression::getDecorator

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

UnaryMinusExpression::getChildCount

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

UnaryMinusExpression::getExpression

pub fn getExpression(self: UnaryMinusExpression) -> Expression; 

UnaryMinusExpression::getParent

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

UnaryMinusExpression::getLastChild

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

UnaryMinusExpression::getOperand

pub fn getOperand(self: UnaryMinusExpression) -> UnaryExpression; 

UnaryMinusExpression::getEndColumnNumber

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

UnaryMinusExpression::getKind

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

UnaryMinusExpression::getAModifier

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

UnaryMinusExpression::getADecorator

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

UnaryMinusExpression::getAComment

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

UnaryMinusExpression::getRoot

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

UnaryMinusExpression::getParentOid

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

UnaryMinusExpression::getEnclosingFunction

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

UnaryMinusExpression::getADescendant

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

UnaryMinusExpression::getChild

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

UnaryMinusExpression::getStartLineNumber

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

UnaryMinusExpression::getAnAncestor

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

UnaryMinusExpression::__all__

Data constraint method.

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

UnaryMinusExpression::getLocation

/** * Gets the location of this node. */ 
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. */ 
pub fn getADescendantByLevel(self: UnaryMinusExpression, level: int) -> *Node; 

UnaryMinusExpression::getStartColumnNumber

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

UnaryMinusExpression::getAChild

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

UnaryMinusExpression::getSymbol

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

UnaryMinusExpression::getAnAncestorEnclosingFunction

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

UnaryMinusExpression::getRelativePath

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

UnaryMinusExpression::getModifier

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

UnaryMinusExpression::getText

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

UnaryMinusExpression::getOperator

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. */ 
pub fn getAnAncestorByLevel(self: UnaryMinusExpression, level: int) -> Node; 

UnaryMinusExpression::getATrailingComment

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

UnaryMinusExpression::getEndLineNumber

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

UnaryMinusExpression::getALeadingComment

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

UnaryMinusExpression::getFile

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