ApiCallExpression

/**
* An Alipay mini program API call expression.
*/

Inherit from CallExpression

Primary key: id: int

schema ApiCallExpression extends CallExpression {
  @primary id: int
}

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

ApiCallExpression::getEndLineNumber

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

ApiCallExpression::getRoot

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

ApiCallExpression::getEnclosingFunction

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

ApiCallExpression::getADescendant

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

ApiCallExpression::getArgument

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

ApiCallExpression::getParentOid

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

ApiCallExpression::getChild

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

ApiCallExpression::getCallee

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

ApiCallExpression::getAChild

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

ApiCallExpression::getStartColumnNumber

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

ApiCallExpression::getStartLineNumber

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

ApiCallExpression::getATypeArgument

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

ApiCallExpression::getAnAncestor

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

ApiCallExpression::isOptionalChaining

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

ApiCallExpression::getRelativePath

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

ApiCallExpression::getExpression

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

ApiCallExpression::getParent

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

ApiCallExpression::getTypeArgument

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

ApiCallExpression::getQuestionDotToken

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

ApiCallExpression::getLocation

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

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

ApiCallExpression::__all__

Data constraint method.

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

ApiCallExpression::getLastChild

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

ApiCallExpression::hasCallee

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

ApiCallExpression::getSymbol

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

ApiCallExpression::getAnAncestorEnclosingFunction

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

ApiCallExpression::getIndex

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

ApiCallExpression::getText

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

ApiCallExpression::getModifier

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

ApiCallExpression::getDecorator

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

ApiCallExpression::getAnArgument

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

ApiCallExpression::getChildCount

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

ApiCallExpression::getAModifier

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

ApiCallExpression::getKind

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

ApiCallExpression::getFile

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

ApiCallExpression::getALeadingComment

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

ApiCallExpression::getAComment

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

ApiCallExpression::getADecorator

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

ApiCallExpression::getATrailingComment

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

ApiCallExpression::getEndColumnNumber

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

ApiCallExpression::getArgumentCount

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

ApiCallExpression::getTypeArgumentCount

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