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