StringLiteralToken

/**
* A string literal token.
*/

Inherit from Token

Primary key: id: int

schema StringLiteralToken extends Token {
  @primary id: int
}

StringLiteralToken::getSymbol

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

StringLiteralToken::getAnAncestorEnclosingFunction

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

StringLiteralToken::getIndex

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

StringLiteralToken::getParentOid

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

StringLiteralToken::getRelativePath

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

StringLiteralToken::getLastChild

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

StringLiteralToken::getEndColumnNumber

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

StringLiteralToken::getParent

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

StringLiteralToken::getChildCount

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

StringLiteralToken::getDecorator

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

StringLiteralToken::getEndLineNumber

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

StringLiteralToken::getATrailingComment

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

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

StringLiteralToken::getChild

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

StringLiteralToken::getRoot

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

StringLiteralToken::getAChild

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

StringLiteralToken::getStartColumnNumber

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

StringLiteralToken::getStartLineNumber

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

StringLiteralToken::__all__

Data constraint method.

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

StringLiteralToken::getLocation

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

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

StringLiteralToken::getKind

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

StringLiteralToken::getAModifier

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

StringLiteralToken::getAnAncestor

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

StringLiteralToken::getEnclosingFunction

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

StringLiteralToken::getADescendant

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

StringLiteralToken::getALeadingComment

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

StringLiteralToken::getFile

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

StringLiteralToken::getModifier

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

StringLiteralToken::getText

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

StringLiteralToken::getAComment

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

StringLiteralToken::getADecorator

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