LiteralExpression

/** * A literal expression. */ 

Inherit from PrimaryExpression

Primary key: id: int

schema LiteralExpression extends PrimaryExpression { @primary id: int } 

LiteralExpression::getStartLineNumber

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

LiteralExpression::getChild

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

LiteralExpression::getATrailingComment

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

LiteralExpression::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: LiteralExpression, level: int) -> Node; 

LiteralExpression::getEndLineNumber

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

LiteralExpression::getADescendant

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

LiteralExpression::getEnclosingFunction

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

LiteralExpression::getParentOid

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

LiteralExpression::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: LiteralExpression, level: int) -> *Node; 

LiteralExpression::getLocation

/** * Gets the location of this node. */ 
pub fn getLocation(self: LiteralExpression) -> Location; 

LiteralExpression::getFile

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

LiteralExpression::getALeadingComment

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

LiteralExpression::getAComment

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

LiteralExpression::getADecorator

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

LiteralExpression::__all__

Data constraint method.

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

LiteralExpression::getAnAncestor

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

LiteralExpression::getValue

/** * Gets the value of this literal, as a string. */ 
pub fn getValue(self: LiteralExpression) -> string; 

LiteralExpression::getRoot

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

LiteralExpression::getDecorator

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

LiteralExpression::getChildCount

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

LiteralExpression::getAModifier

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

LiteralExpression::getKind

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

LiteralExpression::getText

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

LiteralExpression::getModifier

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

LiteralExpression::getAChild

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

LiteralExpression::getStartColumnNumber

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

LiteralExpression::getLastChild

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

LiteralExpression::getEndColumnNumber

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

LiteralExpression::getParent

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

LiteralExpression::getExpression

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

LiteralExpression::getRelativePath

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

LiteralExpression::getSymbol

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

LiteralExpression::getAnAncestorEnclosingFunction

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

LiteralExpression::getIndex

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