DeclareKeyword

/**
* A `declare` keyword.
*/

Inherit from Modifier

Primary key: id: int

schema DeclareKeyword extends Modifier {
  @primary id: int
}

DeclareKeyword::getADecorator

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

DeclareKeyword::getAComment

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

DeclareKeyword::getText

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

DeclareKeyword::getModifier

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

DeclareKeyword::getFile

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

DeclareKeyword::getALeadingComment

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

DeclareKeyword::getADescendant

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

DeclareKeyword::getEnclosingFunction

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

DeclareKeyword::getAnAncestor

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

DeclareKeyword::getDecorator

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

DeclareKeyword::getChildCount

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

DeclareKeyword::getEndColumnNumber

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

DeclareKeyword::getParent

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

DeclareKeyword::getLastChild

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

DeclareKeyword::getIndex

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

DeclareKeyword::__all__

Data constraint method.

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

DeclareKeyword::getLocation

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

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

DeclareKeyword::getRelativePath

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

DeclareKeyword::getAnAncestorEnclosingFunction

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

DeclareKeyword::getSymbol

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

DeclareKeyword::getRoot

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

DeclareKeyword::getParentOid

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

DeclareKeyword::getEndLineNumber

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

DeclareKeyword::getATrailingComment

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

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

DeclareKeyword::getChild

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

DeclareKeyword::getAChild

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

DeclareKeyword::getStartColumnNumber

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

DeclareKeyword::getStartLineNumber

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

DeclareKeyword::getAModifier

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

DeclareKeyword::getKind

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