RegularExpressionLiteralToken

/**
* A regular expression literal.
*/

Inherit from Token

Primary key: id: int

schema RegularExpressionLiteralToken extends Token {
  @primary id: int
}

RegularExpressionLiteralToken::getSymbol

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

RegularExpressionLiteralToken::getAnAncestorEnclosingFunction

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

RegularExpressionLiteralToken::getIndex

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

RegularExpressionLiteralToken::getParentOid

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

RegularExpressionLiteralToken::getRelativePath

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

RegularExpressionLiteralToken::getLastChild

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

RegularExpressionLiteralToken::getEndColumnNumber

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

RegularExpressionLiteralToken::getParent

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

RegularExpressionLiteralToken::getChildCount

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

RegularExpressionLiteralToken::getDecorator

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

RegularExpressionLiteralToken::getEndLineNumber

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

RegularExpressionLiteralToken::getATrailingComment

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

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

RegularExpressionLiteralToken::getChild

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

RegularExpressionLiteralToken::getRoot

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

RegularExpressionLiteralToken::getAChild

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

RegularExpressionLiteralToken::getStartColumnNumber

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

RegularExpressionLiteralToken::getStartLineNumber

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

RegularExpressionLiteralToken::__all__

Data constraint method.

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

RegularExpressionLiteralToken::getLocation

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

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

RegularExpressionLiteralToken::getKind

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

RegularExpressionLiteralToken::getAModifier

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

RegularExpressionLiteralToken::getAnAncestor

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

RegularExpressionLiteralToken::getEnclosingFunction

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

RegularExpressionLiteralToken::getADescendant

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

RegularExpressionLiteralToken::getALeadingComment

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

RegularExpressionLiteralToken::getFile

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

RegularExpressionLiteralToken::getModifier

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

RegularExpressionLiteralToken::getText

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

RegularExpressionLiteralToken::getAComment

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

RegularExpressionLiteralToken::getADecorator

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