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