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. 
*/
pub fn getAnAncestor(self: FunctionExpression) -> *Node;

FunctionExpression::getStartLineNumber

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

FunctionExpression::getChild

/**
* Gets the `i`th child of this 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.
*/
pub fn getAnAncestorByLevel(self: FunctionExpression, level: int) -> Node;

FunctionExpression::getEndLineNumber

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

FunctionExpression::getParentOid

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

FunctionExpression::getLocation

/**
* Gets the location of this node.
*/
pub fn getLocation(self: FunctionExpression) -> Location;

FunctionExpression::getIndex

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

FunctionExpression::getFile

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

FunctionExpression::getALeadingComment

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

FunctionExpression::getAComment

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

FunctionExpression::getADecorator

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

FunctionExpression::__all__

Data constraint method.

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

FunctionExpression::getAModifier

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

FunctionExpression::getKind

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

FunctionExpression::getATrailingComment

/**
* Gets the trailing comments of it
*/
pub fn getATrailingComment(self: FunctionExpression) -> *Comment;

FunctionExpression::getBody

pub fn getBody(self: FunctionExpression) -> BlockStatement;

FunctionExpression::getADescendant

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

FunctionExpression::getEnclosingFunction

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

FunctionExpression::getName

pub fn getName(self: FunctionExpression) -> Identifier;

FunctionExpression::getAParameter

pub fn getAParameter(self: FunctionExpression) -> *Parameter;

FunctionExpression::getRelativePath

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

FunctionExpression::getText

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

FunctionExpression::getModifier

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

FunctionExpression::getDecorator

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

FunctionExpression::getChildCount

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

FunctionExpression::getAChild

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

FunctionExpression::getStartColumnNumber

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

FunctionExpression::getLastChild

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

FunctionExpression::getEndColumnNumber

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

FunctionExpression::getParent

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

FunctionExpression::getExpression

pub fn getExpression(self: FunctionExpression) -> Expression;

FunctionExpression::getRoot

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

FunctionExpression::getAnAncestorEnclosingFunction

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

FunctionExpression::getSymbol

/**
* Gets the symbol associated with this node.
*/
pub fn getSymbol(self: FunctionExpression) -> Symbol;