IdentifierToken

/**
* An identifier token.
*/

Inherit from Token

Primary key: id: int

schema IdentifierToken extends Token {
  @primary id: int
}

IdentifierToken::getSymbol

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

IdentifierToken::getAnAncestorEnclosingFunction

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

IdentifierToken::getIndex

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

IdentifierToken::getParentOid

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

IdentifierToken::getRelativePath

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

IdentifierToken::getLastChild

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

IdentifierToken::getEndColumnNumber

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

IdentifierToken::getParent

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

IdentifierToken::getChildCount

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

IdentifierToken::getDecorator

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

IdentifierToken::getEndLineNumber

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

IdentifierToken::getATrailingComment

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

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

IdentifierToken::getChild

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

IdentifierToken::getRoot

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

IdentifierToken::getAChild

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

IdentifierToken::getStartColumnNumber

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

IdentifierToken::getStartLineNumber

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

IdentifierToken::__all__

Data constraint method.

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

IdentifierToken::getLocation

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

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

IdentifierToken::getKind

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

IdentifierToken::getAModifier

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

IdentifierToken::getAnAncestor

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

IdentifierToken::getEnclosingFunction

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

IdentifierToken::getADescendant

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

IdentifierToken::getALeadingComment

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

IdentifierToken::getFile

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

IdentifierToken::getModifier

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

IdentifierToken::getText

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

IdentifierToken::getAComment

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

IdentifierToken::getADecorator

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