RegularExpressionLiteral

/**
* A regular expression literal.
*/

Inherit from LiteralExpression

Primary key: id: int

schema RegularExpressionLiteral extends LiteralExpression {
  @primary id: int
}

RegularExpressionLiteral::getIndex

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

RegularExpressionLiteral::getAnAncestorEnclosingFunction

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

RegularExpressionLiteral::getSymbol

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

RegularExpressionLiteral::getRelativePath

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

RegularExpressionLiteral::getExpression

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

RegularExpressionLiteral::getParent

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

RegularExpressionLiteral::getEndColumnNumber

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

RegularExpressionLiteral::getLastChild

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

RegularExpressionLiteral::getStartColumnNumber

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

RegularExpressionLiteral::getAChild

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

RegularExpressionLiteral::getModifier

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

RegularExpressionLiteral::getLocation

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

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

RegularExpressionLiteral::__all__

Data constraint method.

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

RegularExpressionLiteral::getParentOid

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

RegularExpressionLiteral::getADescendant

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

RegularExpressionLiteral::getEnclosingFunction

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

RegularExpressionLiteral::getRoot

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

RegularExpressionLiteral::getStartLineNumber

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

RegularExpressionLiteral::getEndLineNumber

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

RegularExpressionLiteral::getATrailingComment

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

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

RegularExpressionLiteral::getChild

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

RegularExpressionLiteral::getFile

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

RegularExpressionLiteral::getALeadingComment

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

RegularExpressionLiteral::getAComment

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

RegularExpressionLiteral::getADecorator

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

RegularExpressionLiteral::getValue

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

RegularExpressionLiteral::getAnAncestor

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

RegularExpressionLiteral::getDecorator

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

RegularExpressionLiteral::getChildCount

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

RegularExpressionLiteral::getAModifier

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

RegularExpressionLiteral::getKind

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

RegularExpressionLiteral::getText

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