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