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.
*/
- Parameter
self
:ThisExpression
- Return
*Node
pub fn getAnAncestor(self: ThisExpression) -> *Node;
ThisExpression::getStartLineNumber
- Parameter
self
:ThisExpression
- Return
int
pub fn getStartLineNumber(self: ThisExpression) -> int;
ThisExpression::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:ThisExpression
- Parameter
i
:int
- Return
Node
pub fn getChild(self: ThisExpression, i: int) -> Node;
ThisExpression::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:ThisExpression
- Return
*Comment
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.
*/
- Parameter
self
:ThisExpression
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: ThisExpression, level: int) -> Node;
ThisExpression::getEndLineNumber
- Parameter
self
:ThisExpression
- Return
int
pub fn getEndLineNumber(self: ThisExpression) -> int;
ThisExpression::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:ThisExpression
- Return
*Node
pub fn getADescendant(self: ThisExpression) -> *Node;
ThisExpression::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:ThisExpression
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: ThisExpression) -> FunctionLikeDeclaration;
ThisExpression::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:ThisExpression
- Return
int
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.
*/
- Parameter
self
:ThisExpression
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: ThisExpression, level: int) -> *Node;
ThisExpression::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:ThisExpression
- Return
File
pub fn getFile(self: ThisExpression) -> File;
ThisExpression::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:ThisExpression
- Return
*Comment
pub fn getALeadingComment(self: ThisExpression) -> *Comment;
ThisExpression::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*ThisExpression
pub fn __all__(db: JavascriptDB) -> *ThisExpression;
ThisExpression::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:ThisExpression
- Return
Location
pub fn getLocation(self: ThisExpression) -> Location;
ThisExpression::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:ThisExpression
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: ThisExpression, i: int) -> Modifier;
ThisExpression::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:ThisExpression
- Return
string
pub fn getText(self: ThisExpression) -> string;
ThisExpression::getStartColumnNumber
- Parameter
self
:ThisExpression
- Return
int
pub fn getStartColumnNumber(self: ThisExpression) -> int;
ThisExpression::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:ThisExpression
- Return
*Node
pub fn getAChild(self: ThisExpression) -> *Node;
ThisExpression::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:ThisExpression
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: ThisExpression, i: int) -> Decorator;
ThisExpression::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:ThisExpression
- Return
int
pub fn getChildCount(self: ThisExpression) -> int;
ThisExpression::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:ThisExpression
- Return
*Modifier
pub fn getAModifier(self: ThisExpression) -> *Modifier;
ThisExpression::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:ThisExpression
- Return
int
pub fn getKind(self: ThisExpression) -> int;
ThisExpression::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:ThisExpression
- Return
*Comment
pub fn getAComment(self: ThisExpression) -> *Comment;
ThisExpression::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:ThisExpression
- Return
*Decorator
pub fn getADecorator(self: ThisExpression) -> *Decorator;
ThisExpression::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:ThisExpression
- Return
Node
pub fn getLastChild(self: ThisExpression) -> Node;
ThisExpression::getEndColumnNumber
- Parameter
self
:ThisExpression
- Return
int
pub fn getEndColumnNumber(self: ThisExpression) -> int;
ThisExpression::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:ThisExpression
- Return
Node
pub fn getParent(self: ThisExpression) -> Node;
ThisExpression::getExpression
- Parameter
self
:ThisExpression
- Return
Expression
pub fn getExpression(self: ThisExpression) -> Expression;
ThisExpression::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:ThisExpression
- Return
string
pub fn getRelativePath(self: ThisExpression) -> string;
ThisExpression::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:ThisExpression
- Return
TopLevelDO
pub fn getRoot(self: ThisExpression) -> TopLevelDO;
ThisExpression::getSymbol
/**
* Gets the symbol associated with this node.
*/
- Parameter
self
:ThisExpression
- Return
Symbol
pub fn getSymbol(self: ThisExpression) -> Symbol;
ThisExpression::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:ThisExpression
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: ThisExpression) -> *FunctionLikeDeclaration;
ThisExpression::getIndex
- Parameter
self
:ThisExpression
- Return
int
pub fn getIndex(self: ThisExpression) -> int;