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