CallExpression

/**
* A call expression.
*/

Inherit from LeftHandSideExpression

Primary key: id: int

schema CallExpression extends LeftHandSideExpression {
  @primary id: int
}

CallExpression::getAnAncestorEnclosingFunction

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

CallExpression::getSymbol

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

CallExpression::getIndex

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

CallExpression::getDecorator

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

CallExpression::getLastChild

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

CallExpression::getModifier

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

CallExpression::getText

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

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

CallExpression::getLocation

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

CallExpression::getAModifier

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

CallExpression::getKind

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

CallExpression::getAComment

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

CallExpression::getADecorator

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

CallExpression::getFile

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

CallExpression::getALeadingComment

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

CallExpression::getATrailingComment

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

CallExpression::getEndColumnNumber

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

CallExpression::getArgumentCount

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

CallExpression::getTypeArgumentCount

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

CallExpression::hasCallee

/**
* Determine whether this CallExpression has a callee.
*/
pub fn hasCallee(self: CallExpression) -> bool;

CallExpression::getChildCount

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

CallExpression::getAnArgument

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

CallExpression::__all__

Data constraint method.

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

CallExpression::getQuestionDotToken

/**
* Gets the `?.` token of this call expression.
*/
pub fn getQuestionDotToken(self: CallExpression) -> QuestionDotToken;

CallExpression::getTypeArgument

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

CallExpression::getParent

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

CallExpression::getExpression

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

CallExpression::getRelativePath

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

CallExpression::isOptionalChaining

/**
* Determines whether this call expression is optional chaining, which means it has a `?.` token.
*/
pub fn isOptionalChaining(self: CallExpression) -> bool;

CallExpression::getAnAncestor

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

CallExpression::getATypeArgument

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

CallExpression::getStartLineNumber

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

CallExpression::getStartColumnNumber

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

CallExpression::getAChild

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

CallExpression::getCallee

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

CallExpression::getChild

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

CallExpression::getParentOid

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

CallExpression::getArgument

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

CallExpression::getADescendant

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

CallExpression::getEnclosingFunction

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

CallExpression::getRoot

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

CallExpression::getEndLineNumber

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

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