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