ThisKeyword

/**
* A `this` keyword.
*/

Inherit from Token

Primary key: id: int

schema ThisKeyword extends Token {
  @primary id: int
}

ThisKeyword::getSymbol

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

ThisKeyword::getAnAncestorEnclosingFunction

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

ThisKeyword::getIndex

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

ThisKeyword::getParentOid

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

ThisKeyword::getRelativePath

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

ThisKeyword::getLastChild

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

ThisKeyword::getEndColumnNumber

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

ThisKeyword::getParent

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

ThisKeyword::getChildCount

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

ThisKeyword::getDecorator

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

ThisKeyword::getEndLineNumber

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

ThisKeyword::getATrailingComment

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

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

ThisKeyword::getChild

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

ThisKeyword::getRoot

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

ThisKeyword::getAChild

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

ThisKeyword::getStartColumnNumber

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

ThisKeyword::getStartLineNumber

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

ThisKeyword::__all__

Data constraint method.

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

ThisKeyword::getLocation

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

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

ThisKeyword::getKind

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

ThisKeyword::getAModifier

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

ThisKeyword::getAnAncestor

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

ThisKeyword::getEnclosingFunction

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

ThisKeyword::getADescendant

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

ThisKeyword::getALeadingComment

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

ThisKeyword::getFile

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

ThisKeyword::getModifier

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

ThisKeyword::getText

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

ThisKeyword::getAComment

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

ThisKeyword::getADecorator

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