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
*/
- Parameter
self
:CallExpression
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: CallExpression) -> *FunctionLikeDeclaration;
CallExpression::getSymbol
/**
* Gets the symbol associated with this node.
*/
- Parameter
self
:CallExpression
- Return
Symbol
pub fn getSymbol(self: CallExpression) -> Symbol;
CallExpression::getIndex
- Parameter
self
:CallExpression
- Return
int
pub fn getIndex(self: CallExpression) -> int;
CallExpression::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:CallExpression
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: CallExpression, i: int) -> Decorator;
CallExpression::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:CallExpression
- Return
Node
pub fn getLastChild(self: CallExpression) -> Node;
CallExpression::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:CallExpression
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: CallExpression, i: int) -> Modifier;
CallExpression::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:CallExpression
- Return
string
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.
*/
- Parameter
self
:CallExpression
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: CallExpression, level: int) -> *Node;
CallExpression::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:CallExpression
- Return
Location
pub fn getLocation(self: CallExpression) -> Location;
CallExpression::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:CallExpression
- Return
*Modifier
pub fn getAModifier(self: CallExpression) -> *Modifier;
CallExpression::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:CallExpression
- Return
int
pub fn getKind(self: CallExpression) -> int;
CallExpression::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:CallExpression
- Return
*Comment
pub fn getAComment(self: CallExpression) -> *Comment;
CallExpression::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:CallExpression
- Return
*Decorator
pub fn getADecorator(self: CallExpression) -> *Decorator;
CallExpression::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:CallExpression
- Return
File
pub fn getFile(self: CallExpression) -> File;
CallExpression::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:CallExpression
- Return
*Comment
pub fn getALeadingComment(self: CallExpression) -> *Comment;
CallExpression::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:CallExpression
- Return
*Comment
pub fn getATrailingComment(self: CallExpression) -> *Comment;
CallExpression::getEndColumnNumber
- Parameter
self
:CallExpression
- Return
int
pub fn getEndColumnNumber(self: CallExpression) -> int;
CallExpression::getArgumentCount
/**
* Gets the count of the arguments.
*/
- Parameter
self
:CallExpression
- Return
int
pub fn getArgumentCount(self: CallExpression) -> int;
CallExpression::getTypeArgumentCount
/**
* Gets the count of the type arguments.
*/
- Parameter
self
:CallExpression
- Return
int
pub fn getTypeArgumentCount(self: CallExpression) -> int;
CallExpression::hasCallee
/**
* Determine whether this CallExpression has a callee.
*/
- Parameter
self
:CallExpression
- Return
bool
pub fn hasCallee(self: CallExpression) -> bool;
CallExpression::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:CallExpression
- Return
int
pub fn getChildCount(self: CallExpression) -> int;
CallExpression::getAnArgument
/**
* Gets an argument of this call expression.
*/
- Parameter
self
:CallExpression
- Return
*Expression
pub fn getAnArgument(self: CallExpression) -> *Expression;
CallExpression::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*CallExpression
pub fn __all__(db: JavascriptDB) -> *CallExpression;
CallExpression::getQuestionDotToken
/**
* Gets the `?.` token of this call expression.
*/
- Parameter
self
:CallExpression
- Return
QuestionDotToken
pub fn getQuestionDotToken(self: CallExpression) -> QuestionDotToken;
CallExpression::getTypeArgument
/**
* Gets the `i`th type argument of this call expression.
*/
- Parameter
self
:CallExpression
- Parameter
i
:int
- Return
TypeNode
pub fn getTypeArgument(self: CallExpression, i: int) -> TypeNode;
CallExpression::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:CallExpression
- Return
Node
pub fn getParent(self: CallExpression) -> Node;
CallExpression::getExpression
- Parameter
self
:CallExpression
- Return
LeftHandSideExpression
pub fn getExpression(self: CallExpression) -> LeftHandSideExpression;
CallExpression::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:CallExpression
- Return
string
pub fn getRelativePath(self: CallExpression) -> string;
CallExpression::isOptionalChaining
/**
* Determines whether this call expression is optional chaining, which means it has a `?.` token.
*/
- Parameter
self
:CallExpression
- Return
bool
pub fn isOptionalChaining(self: CallExpression) -> bool;
CallExpression::getAnAncestor
/**
* Gets an ancestor of this node.
*/
- Parameter
self
:CallExpression
- Return
*Node
pub fn getAnAncestor(self: CallExpression) -> *Node;
CallExpression::getATypeArgument
/**
* Gets a type argument of this call expression.
*/
- Parameter
self
:CallExpression
- Return
*TypeNode
pub fn getATypeArgument(self: CallExpression) -> *TypeNode;
CallExpression::getStartLineNumber
- Parameter
self
:CallExpression
- Return
int
pub fn getStartLineNumber(self: CallExpression) -> int;
CallExpression::getStartColumnNumber
- Parameter
self
:CallExpression
- Return
int
pub fn getStartColumnNumber(self: CallExpression) -> int;
CallExpression::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:CallExpression
- Return
*Node
pub fn getAChild(self: CallExpression) -> *Node;
CallExpression::getCallee
/**
* Gets the callee of this call expression.
*/
- Parameter
self
:CallExpression
- Return
FunctionLikeDeclaration
pub fn getCallee(self: CallExpression) -> FunctionLikeDeclaration;
CallExpression::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:CallExpression
- Parameter
i
:int
- Return
Node
pub fn getChild(self: CallExpression, i: int) -> Node;
CallExpression::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:CallExpression
- Return
int
pub fn getParentOid(self: CallExpression) -> int;
CallExpression::getArgument
/**
* Gets the `i`th argument of this call expression.
* index from 0
*/
- Parameter
self
:CallExpression
- Parameter
i
:int
- Return
Expression
pub fn getArgument(self: CallExpression, i: int) -> Expression;
CallExpression::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:CallExpression
- Return
*Node
pub fn getADescendant(self: CallExpression) -> *Node;
CallExpression::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:CallExpression
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: CallExpression) -> FunctionLikeDeclaration;
CallExpression::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:CallExpression
- Return
TopLevelDO
pub fn getRoot(self: CallExpression) -> TopLevelDO;
CallExpression::getEndLineNumber
- Parameter
self
:CallExpression
- Return
int
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.
*/
- Parameter
self
:CallExpression
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: CallExpression, level: int) -> Node;