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. */ 
pub fn getAnAncestor(self: NewExpression) -> *Node; 

NewExpression::getStartLineNumber

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

NewExpression::getATrailingComment

/** * Gets the trailing comments of it */ 
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. */ 
pub fn getAnAncestorByLevel(self: NewExpression, level: int) -> Node; 

NewExpression::getEndLineNumber

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

NewExpression::getParentOid

/** * Gets the parent oid of this node. */ 
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. */ 
pub fn getADescendantByLevel(self: NewExpression, level: int) -> *Node; 

NewExpression::getLocation

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

NewExpression::getIndex

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

NewExpression::getAnAncestorEnclosingFunction

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

NewExpression::getSymbol

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

NewExpression::getRoot

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

NewExpression::getRelativePath

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

NewExpression::getTypeArgumentCount

/** * Gets the count of the type arguments. */ 
pub fn getTypeArgumentCount(self: NewExpression) -> int; 

NewExpression::getText

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

NewExpression::getChild

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

NewExpression::getCallee

/** * Gets the callee of this new expression. */ 
pub fn getCallee(self: NewExpression) -> FunctionLikeDeclaration; 

NewExpression::getModifier

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

NewExpression::getTypeArgument

/** * Gets the `i`th type argument of this new expression. */ 
pub fn getTypeArgument(self: NewExpression, i: int) -> TypeNode; 

NewExpression::getADescendant

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

NewExpression::getEnclosingFunction

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

NewExpression::getArgument

/** * Gets the `i`th argument of this new expression. * index starts from 0 */ 
pub fn getArgument(self: NewExpression, i: int) -> Expression; 

NewExpression::__all__

Data constraint method.

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

NewExpression::getChildCount

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

NewExpression::getAnArgument

/** * Gets an argument of this new expression. */ 
pub fn getAnArgument(self: NewExpression) -> *Expression; 

NewExpression::getATypeArgument

/** * Gets a type argument of this new expression. */ 
pub fn getATypeArgument(self: NewExpression) -> *TypeNode; 

NewExpression::getAModifier

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

NewExpression::getKind

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

NewExpression::getADecorator

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

NewExpression::getAComment

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

NewExpression::getFile

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

NewExpression::getALeadingComment

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

NewExpression::getDecorator

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

NewExpression::getAChild

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

NewExpression::getStartColumnNumber

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

NewExpression::getLastChild

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

NewExpression::getArgumentCount

/** * Gets the count of the arguments. */ 
pub fn getArgumentCount(self: NewExpression) -> int; 

NewExpression::getEndColumnNumber

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

NewExpression::getExpression

pub fn getExpression(self: NewExpression) -> LeftHandSideExpression; 

NewExpression::getParent

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