SyntheticExpression

/**
* A synthetic expression.
*/

Inherit from Expression

Primary key: id: int

schema SyntheticExpression extends Expression {
  @primary id: int
}

SyntheticExpression::getSymbol

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

SyntheticExpression::getAnAncestorEnclosingFunction

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

SyntheticExpression::getIndex

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

SyntheticExpression::getParentOid

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

SyntheticExpression::getRelativePath

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

SyntheticExpression::getLastChild

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

SyntheticExpression::getEndColumnNumber

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

SyntheticExpression::getParent

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

SyntheticExpression::getChildCount

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

SyntheticExpression::getDecorator

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

SyntheticExpression::getEndLineNumber

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

SyntheticExpression::getATrailingComment

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

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

SyntheticExpression::getChild

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

SyntheticExpression::getRoot

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

SyntheticExpression::getAChild

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

SyntheticExpression::getStartColumnNumber

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

SyntheticExpression::getStartLineNumber

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

SyntheticExpression::__all__

Data constraint method.

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

SyntheticExpression::getLocation

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

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

SyntheticExpression::getKind

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

SyntheticExpression::getAModifier

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

SyntheticExpression::getAnAncestor

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

SyntheticExpression::getEnclosingFunction

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

SyntheticExpression::getADescendant

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

SyntheticExpression::getALeadingComment

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

SyntheticExpression::getFile

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

SyntheticExpression::getModifier

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

SyntheticExpression::getText

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

SyntheticExpression::getAComment

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

SyntheticExpression::getADecorator

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