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