SpreadAssignment

/**
* A spread assignment.
*/

Inherit from ObjectLiteralElement

Primary key: id: int

schema SpreadAssignment extends ObjectLiteralElement {
  @primary id: int
}

SpreadAssignment::getIndex

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

SpreadAssignment::getParentOid

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

SpreadAssignment::getLastChild

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

SpreadAssignment::getEndColumnNumber

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

SpreadAssignment::getKind

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

SpreadAssignment::getAModifier

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

SpreadAssignment::getStartLineNumber

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

SpreadAssignment::getText

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

SpreadAssignment::getModifier

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

SpreadAssignment::getRelativePath

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

SpreadAssignment::getRoot

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

SpreadAssignment::getChildCount

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

SpreadAssignment::getDecorator

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

SpreadAssignment::getChild

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

SpreadAssignment::getSymbol

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

SpreadAssignment::getAnAncestorEnclosingFunction

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

SpreadAssignment::getAChild

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

SpreadAssignment::getStartColumnNumber

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

SpreadAssignment::__all__

Data constraint method.

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

SpreadAssignment::getLocation

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

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

SpreadAssignment::getAnAncestor

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

SpreadAssignment::getParent

pub fn getParent(self: SpreadAssignment) -> ObjectLiteralExpression;

SpreadAssignment::getExpression

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

SpreadAssignment::getEndLineNumber

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

SpreadAssignment::getATrailingComment

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

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

SpreadAssignment::getALeadingComment

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

SpreadAssignment::getFile

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

SpreadAssignment::getAComment

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

SpreadAssignment::getADecorator

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

SpreadAssignment::getName

/**
* Gets the name of this ObjectLiteralElement.
*
* A SpreadAssignment doesn't have a name.
* TODO: add handling for Accessors.
*/
pub fn getName(self: SpreadAssignment) -> string;

SpreadAssignment::getEnclosingFunction

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

SpreadAssignment::getADescendant

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