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