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