ConstKeyword

/**
* A `const` keyword.
*/

Inherit from Modifier

Primary key: id: int

schema ConstKeyword extends Modifier {
  @primary id: int
}

ConstKeyword::getADecorator

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

ConstKeyword::getAComment

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

ConstKeyword::getText

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

ConstKeyword::getModifier

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

ConstKeyword::getFile

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

ConstKeyword::getALeadingComment

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

ConstKeyword::getADescendant

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

ConstKeyword::getEnclosingFunction

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

ConstKeyword::getAnAncestor

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

ConstKeyword::getDecorator

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

ConstKeyword::getChildCount

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

ConstKeyword::getEndColumnNumber

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

ConstKeyword::getParent

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

ConstKeyword::getLastChild

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

ConstKeyword::getIndex

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

ConstKeyword::__all__

Data constraint method.

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

ConstKeyword::getLocation

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

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

ConstKeyword::getRelativePath

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

ConstKeyword::getAnAncestorEnclosingFunction

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

ConstKeyword::getSymbol

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

ConstKeyword::getRoot

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

ConstKeyword::getParentOid

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

ConstKeyword::getEndLineNumber

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

ConstKeyword::getATrailingComment

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

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

ConstKeyword::getChild

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

ConstKeyword::getAChild

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

ConstKeyword::getStartColumnNumber

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

ConstKeyword::getStartLineNumber

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

ConstKeyword::getAModifier

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

ConstKeyword::getKind

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