ThisExpression

/**
* A this expression.
*/

Inherit from PrimaryExpression

Primary key: id: int

schema ThisExpression extends PrimaryExpression {
  @primary id: int
}

ThisExpression::getAnAncestor

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

ThisExpression::getStartLineNumber

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

ThisExpression::getChild

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

ThisExpression::getATrailingComment

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

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

ThisExpression::getEndLineNumber

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

ThisExpression::getADescendant

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

ThisExpression::getEnclosingFunction

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

ThisExpression::getParentOid

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

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

ThisExpression::getFile

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

ThisExpression::getALeadingComment

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

ThisExpression::__all__

Data constraint method.

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

ThisExpression::getLocation

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

ThisExpression::getModifier

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

ThisExpression::getText

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

ThisExpression::getStartColumnNumber

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

ThisExpression::getAChild

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

ThisExpression::getDecorator

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

ThisExpression::getChildCount

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

ThisExpression::getAModifier

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

ThisExpression::getKind

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

ThisExpression::getAComment

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

ThisExpression::getADecorator

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

ThisExpression::getLastChild

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

ThisExpression::getEndColumnNumber

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

ThisExpression::getParent

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

ThisExpression::getExpression

pub fn getExpression(self: ThisExpression) -> Expression;

ThisExpression::getRelativePath

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

ThisExpression::getRoot

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

ThisExpression::getSymbol

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

ThisExpression::getAnAncestorEnclosingFunction

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

ThisExpression::getIndex

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