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