StringKeyword

/**
* A `string` keyword.
*/

Inherit from Token

Primary key: id: int

schema StringKeyword extends Token {
  @primary id: int
}

StringKeyword::getSymbol

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

StringKeyword::getAnAncestorEnclosingFunction

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

StringKeyword::getIndex

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

StringKeyword::getParentOid

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

StringKeyword::getRelativePath

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

StringKeyword::getLastChild

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

StringKeyword::getEndColumnNumber

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

StringKeyword::getParent

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

StringKeyword::getChildCount

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

StringKeyword::getDecorator

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

StringKeyword::getEndLineNumber

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

StringKeyword::getATrailingComment

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

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

StringKeyword::getChild

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

StringKeyword::getRoot

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

StringKeyword::getAChild

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

StringKeyword::getStartColumnNumber

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

StringKeyword::getStartLineNumber

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

StringKeyword::__all__

Data constraint method.

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

StringKeyword::getLocation

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

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

StringKeyword::getKind

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

StringKeyword::getAModifier

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

StringKeyword::getAnAncestor

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

StringKeyword::getEnclosingFunction

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

StringKeyword::getADescendant

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

StringKeyword::getALeadingComment

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

StringKeyword::getFile

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

StringKeyword::getModifier

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

StringKeyword::getText

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

StringKeyword::getAComment

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

StringKeyword::getADecorator

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