MayInvokeExpression
/**
* A CallLikeExpression or AccessExpression that may invoke a FunctionLikeDeclaration.
*/
Inherit from Expression
Primary key: id: int
schema MayInvokeExpression extends Expression {
@primary id: int
}
MayInvokeExpression::getSymbol
/**
* Gets the symbol associated with this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
Symbol
pub fn getSymbol(self: MayInvokeExpression) -> Symbol;
MayInvokeExpression::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:MayInvokeExpression
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: MayInvokeExpression) -> *FunctionLikeDeclaration;
MayInvokeExpression::getIndex
- Parameter
self
:MayInvokeExpression
- Return
int
pub fn getIndex(self: MayInvokeExpression) -> int;
MayInvokeExpression::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
int
pub fn getParentOid(self: MayInvokeExpression) -> int;
MayInvokeExpression::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
string
pub fn getRelativePath(self: MayInvokeExpression) -> string;
MayInvokeExpression::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:MayInvokeExpression
- Return
Node
pub fn getLastChild(self: MayInvokeExpression) -> Node;
MayInvokeExpression::getEndColumnNumber
- Parameter
self
:MayInvokeExpression
- Return
int
pub fn getEndColumnNumber(self: MayInvokeExpression) -> int;
MayInvokeExpression::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
Node
pub fn getParent(self: MayInvokeExpression) -> Node;
MayInvokeExpression::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:MayInvokeExpression
- Return
int
pub fn getKind(self: MayInvokeExpression) -> int;
MayInvokeExpression::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:MayInvokeExpression
- Return
*Modifier
pub fn getAModifier(self: MayInvokeExpression) -> *Modifier;
MayInvokeExpression::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:MayInvokeExpression
- Return
int
pub fn getChildCount(self: MayInvokeExpression) -> int;
MayInvokeExpression::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:MayInvokeExpression
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: MayInvokeExpression, i: int) -> Decorator;
MayInvokeExpression::getAnAncestor
/**
* Gets an ancestor of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
*Node
pub fn getAnAncestor(self: MayInvokeExpression) -> *Node;
MayInvokeExpression::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
TopLevelDO
pub fn getRoot(self: MayInvokeExpression) -> TopLevelDO;
MayInvokeExpression::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
*Node
pub fn getAChild(self: MayInvokeExpression) -> *Node;
MayInvokeExpression::getStartColumnNumber
- Parameter
self
:MayInvokeExpression
- Return
int
pub fn getStartColumnNumber(self: MayInvokeExpression) -> int;
MayInvokeExpression::getStartLineNumber
- Parameter
self
:MayInvokeExpression
- Return
int
pub fn getStartLineNumber(self: MayInvokeExpression) -> int;
MayInvokeExpression::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:MayInvokeExpression
- Parameter
i
:int
- Return
Node
pub fn getChild(self: MayInvokeExpression, i: int) -> Node;
MayInvokeExpression::getCallee
/**
* Gets the callee of this MayInvokeExpression.
*/
- Parameter
self
:MayInvokeExpression
- Return
FunctionLikeDeclaration
pub fn getCallee(self: MayInvokeExpression) -> FunctionLikeDeclaration;
MayInvokeExpression::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
string
pub fn getText(self: MayInvokeExpression) -> string;
MayInvokeExpression::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*MayInvokeExpression
pub fn __all__(db: JavascriptDB) -> *MayInvokeExpression;
MayInvokeExpression::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
Location
pub fn getLocation(self: MayInvokeExpression) -> Location;
MayInvokeExpression::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
:MayInvokeExpression
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: MayInvokeExpression, level: int) -> *Node;
MayInvokeExpression::hasCallee
/**
* Determine whether this MayInvokeExpression has a callee.
*/
- Parameter
self
:MayInvokeExpression
- Return
bool
pub fn hasCallee(self: MayInvokeExpression) -> bool;
MayInvokeExpression::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:MayInvokeExpression
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: MayInvokeExpression) -> FunctionLikeDeclaration;
MayInvokeExpression::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
*Node
pub fn getADescendant(self: MayInvokeExpression) -> *Node;
MayInvokeExpression::getEndLineNumber
- Parameter
self
:MayInvokeExpression
- Return
int
pub fn getEndLineNumber(self: MayInvokeExpression) -> int;
MayInvokeExpression::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:MayInvokeExpression
- Return
*Comment
pub fn getATrailingComment(self: MayInvokeExpression) -> *Comment;
MayInvokeExpression::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
:MayInvokeExpression
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: MayInvokeExpression, level: int) -> Node;
MayInvokeExpression::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:MayInvokeExpression
- Return
*Comment
pub fn getALeadingComment(self: MayInvokeExpression) -> *Comment;
MayInvokeExpression::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:MayInvokeExpression
- Return
File
pub fn getFile(self: MayInvokeExpression) -> File;
MayInvokeExpression::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:MayInvokeExpression
- Return
*Decorator
pub fn getADecorator(self: MayInvokeExpression) -> *Decorator;
MayInvokeExpression::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:MayInvokeExpression
- Return
*Comment
pub fn getAComment(self: MayInvokeExpression) -> *Comment;
MayInvokeExpression::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:MayInvokeExpression
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: MayInvokeExpression, i: int) -> Modifier;