YieldExpression

/**
* A yield expression.
*/

Inherit from Expression

Primary key: id: int

schema YieldExpression extends Expression {
  @primary id: int
}

YieldExpression::getSymbol

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

YieldExpression::getAnAncestorEnclosingFunction

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

YieldExpression::getIndex

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

YieldExpression::getParentOid

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

YieldExpression::getRelativePath

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

YieldExpression::getLastChild

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

YieldExpression::getEndColumnNumber

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

YieldExpression::getKind

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

YieldExpression::getAModifier

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

YieldExpression::getChild

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

YieldExpression::getAnAncestor

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

YieldExpression::getChildCount

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

YieldExpression::getDecorator

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

YieldExpression::isDelegating

pub fn isDelegating(self: YieldExpression) -> bool;

YieldExpression::getALeadingComment

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

YieldExpression::getFile

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

YieldExpression::getADecorator

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

YieldExpression::getAComment

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

YieldExpression::getAChild

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

YieldExpression::getStartColumnNumber

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

YieldExpression::getStartLineNumber

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

YieldExpression::__all__

Data constraint method.

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

YieldExpression::getLocation

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

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

YieldExpression::getRoot

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

YieldExpression::getParent

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

YieldExpression::getExpression

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

YieldExpression::getEnclosingFunction

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

YieldExpression::getADescendant

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

YieldExpression::getEndLineNumber

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

YieldExpression::getATrailingComment

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

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

YieldExpression::getModifier

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

YieldExpression::getText

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