MiniCallExpression

/**
* A call expression in Alipay mini program project.
*/

Inherit from CallExpression

Primary key: id: int

schema MiniCallExpression extends CallExpression {
  @primary id: int
}

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

MiniCallExpression::getEndLineNumber

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

MiniCallExpression::getRoot

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

MiniCallExpression::getEnclosingFunction

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

MiniCallExpression::getADescendant

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

MiniCallExpression::getArgument

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

MiniCallExpression::getParentOid

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

MiniCallExpression::getAChild

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

MiniCallExpression::getStartColumnNumber

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

MiniCallExpression::getStartLineNumber

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

MiniCallExpression::getATypeArgument

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

MiniCallExpression::getAnAncestor

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

MiniCallExpression::isOptionalChaining

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

MiniCallExpression::getRelativePath

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

MiniCallExpression::getExpression

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

MiniCallExpression::getParent

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

MiniCallExpression::getTypeArgument

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

MiniCallExpression::getQuestionDotToken

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

MiniCallExpression::getLocation

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

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

MiniCallExpression::__all__

Data constraint method.

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

MiniCallExpression::getLastChild

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

MiniCallExpression::hasCallee

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

MiniCallExpression::getDecorator

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

MiniCallExpression::getAnArgument

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

MiniCallExpression::getChildCount

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

MiniCallExpression::getChild

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

MiniCallExpression::getCallee

/**
* Gets the callee of this MiniCallExpression.
*
* In addition to the results of CallExpression.getCallee(),
* this method add some callees according to Alipay mini program framework.
*/
pub fn getCallee(self: MiniCallExpression) -> FunctionLikeDeclaration;

MiniCallExpression::getText

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

MiniCallExpression::getIndex

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

MiniCallExpression::getAnAncestorEnclosingFunction

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

MiniCallExpression::getSymbol

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

MiniCallExpression::getModifier

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

MiniCallExpression::getAModifier

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

MiniCallExpression::getKind

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

MiniCallExpression::getFile

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

MiniCallExpression::getALeadingComment

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

MiniCallExpression::getAComment

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

MiniCallExpression::getADecorator

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

MiniCallExpression::getATrailingComment

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

MiniCallExpression::getEndColumnNumber

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

MiniCallExpression::getArgumentCount

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

MiniCallExpression::getTypeArgumentCount

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