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