StringLiteral

/** * A string literal. */ 

Inherit from LiteralExpression

Primary key: id: int

schema StringLiteral extends LiteralExpression { @primary id: int } 

StringLiteral::getIndex

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

StringLiteral::getAnAncestorEnclosingFunction

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

StringLiteral::getSymbol

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

StringLiteral::getRelativePath

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

StringLiteral::getExpression

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

StringLiteral::getParent

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

StringLiteral::getEndColumnNumber

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

StringLiteral::getLastChild

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

StringLiteral::getStartColumnNumber

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

StringLiteral::getAChild

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

StringLiteral::getModifier

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

StringLiteral::getText

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

StringLiteral::getParentOid

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

StringLiteral::getADescendant

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

StringLiteral::getEnclosingFunction

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

StringLiteral::getRoot

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

StringLiteral::getString

pub fn getString(self: StringLiteral) -> string; 

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

StringLiteral::getEndLineNumber

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

StringLiteral::getATrailingComment

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

StringLiteral::__all__

Data constraint method.

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

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

StringLiteral::getLocation

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

StringLiteral::getStartLineNumber

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

StringLiteral::getChild

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

StringLiteral::getFile

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

StringLiteral::getALeadingComment

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

StringLiteral::getAComment

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

StringLiteral::getADecorator

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

StringLiteral::getValue

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

StringLiteral::getAnAncestor

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

StringLiteral::getDecorator

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

StringLiteral::getChildCount

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

StringLiteral::getAModifier

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

StringLiteral::getKind

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