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.
*/
pub fn getSymbol(self: MayInvokeExpression) -> Symbol;

MayInvokeExpression::getAnAncestorEnclosingFunction

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

MayInvokeExpression::getIndex

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

MayInvokeExpression::getParentOid

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

MayInvokeExpression::getRelativePath

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

MayInvokeExpression::getLastChild

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

MayInvokeExpression::getEndColumnNumber

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

MayInvokeExpression::getParent

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

MayInvokeExpression::getKind

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

MayInvokeExpression::getAModifier

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

MayInvokeExpression::getChildCount

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

MayInvokeExpression::getDecorator

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

MayInvokeExpression::getAnAncestor

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

MayInvokeExpression::getRoot

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

MayInvokeExpression::getAChild

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

MayInvokeExpression::getStartColumnNumber

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

MayInvokeExpression::getStartLineNumber

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

MayInvokeExpression::getChild

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

MayInvokeExpression::getCallee

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

MayInvokeExpression::getText

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

MayInvokeExpression::__all__

Data constraint method.

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

MayInvokeExpression::getLocation

/**
* Gets the location of this node.
*/
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.
*/
pub fn getADescendantByLevel(self: MayInvokeExpression, level: int) -> *Node;

MayInvokeExpression::hasCallee

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

MayInvokeExpression::getEnclosingFunction

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

MayInvokeExpression::getADescendant

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

MayInvokeExpression::getEndLineNumber

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

MayInvokeExpression::getATrailingComment

/**
* Gets the trailing comments of it
*/
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.
*/
pub fn getAnAncestorByLevel(self: MayInvokeExpression, level: int) -> Node;

MayInvokeExpression::getALeadingComment

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

MayInvokeExpression::getFile

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

MayInvokeExpression::getADecorator

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

MayInvokeExpression::getAComment

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

MayInvokeExpression::getModifier

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