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