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.
*/
pub fn getRelativePath(self: SyntheticReferenceExpression) -> string;

SyntheticReferenceExpression::getAnAncestorEnclosingFunction

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

SyntheticReferenceExpression::getSymbol

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

SyntheticReferenceExpression::getIndex

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

SyntheticReferenceExpression::getDecorator

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

SyntheticReferenceExpression::getChildCount

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

SyntheticReferenceExpression::getExpression

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

SyntheticReferenceExpression::getParent

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

SyntheticReferenceExpression::getLastChild

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

SyntheticReferenceExpression::getEndColumnNumber

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

SyntheticReferenceExpression::getParentOid

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

SyntheticReferenceExpression::getADescendant

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

SyntheticReferenceExpression::getEnclosingFunction

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

SyntheticReferenceExpression::getRoot

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

SyntheticReferenceExpression::getEndLineNumber

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.
*/
pub fn getAnAncestorByLevel(self: SyntheticReferenceExpression, level: int) -> Node;

SyntheticReferenceExpression::getATrailingComment

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

SyntheticReferenceExpression::getChild

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

SyntheticReferenceExpression::getStartLineNumber

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

SyntheticReferenceExpression::getAnAncestor

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

SyntheticReferenceExpression::__all__

Data constraint method.

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

SyntheticReferenceExpression::getLocation

/**
* Gets the location of this node.
*/
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.
*/
pub fn getADescendantByLevel(self: SyntheticReferenceExpression, level: int) -> *Node;

SyntheticReferenceExpression::getStartColumnNumber

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

SyntheticReferenceExpression::getAChild

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

SyntheticReferenceExpression::getALeadingComment

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

SyntheticReferenceExpression::getFile

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

SyntheticReferenceExpression::getAComment

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

SyntheticReferenceExpression::getADecorator

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

SyntheticReferenceExpression::getAModifier

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

SyntheticReferenceExpression::getKind

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

SyntheticReferenceExpression::getText

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

SyntheticReferenceExpression::getModifier

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