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