ArrowFunction

/** * A ArrowFunction. */ 

Inherit from FunctionLikeDeclaration

Primary key: id: int

schema ArrowFunction extends FunctionLikeDeclaration { @primary id: int } 

ArrowFunction::getText

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

ArrowFunction::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: ArrowFunction, level: int) -> *Node; 

ArrowFunction::getLocation

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

ArrowFunction::getFile

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

ArrowFunction::getADecorator

/** * Gets a decorator of this FunctionLikeDeclaration. */ 
pub fn getADecorator(self: ArrowFunction) -> *Decorator; 

ArrowFunction::getALeadingComment

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

ArrowFunction::getADescendant

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

ArrowFunction::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: ArrowFunction, level: int) -> Node; 

ArrowFunction::isGenerator

/** * Determines whether this FunctionLikeDeclaration is a generator. */ 
pub fn isGenerator(self: ArrowFunction) -> bool; 

ArrowFunction::getKind

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

ArrowFunction::getAModifier

/** * Gets a modifier of this FunctionLikeDeclaration. */ 
pub fn getAModifier(self: ArrowFunction) -> *Modifier; 

ArrowFunction::getAComment

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

ArrowFunction::getBody

/** * Gets the body of this function-like declaration */ 
pub fn getBody(self: ArrowFunction) -> BlockStatement; 

ArrowFunction::getTypeParameterCount

/** * Gets the count of type parameters. */ 
pub fn getTypeParameterCount(self: ArrowFunction) -> int; 

ArrowFunction::getSymbol

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

ArrowFunction::getAnAncestorEnclosingFunction

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

ArrowFunction::getTypeParameter

/** * Gets the `i`th type parameter. */ 
pub fn getTypeParameter(self: ArrowFunction, i: int) -> TypeParameter; 

ArrowFunction::getIndex

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

ArrowFunction::getAParameter

/** * Gets a parameter. */ 
pub fn getAParameter(self: ArrowFunction) -> *Parameter; 

ArrowFunction::getEnclosingFunction

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

ArrowFunction::getRelativePath

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

ArrowFunction::getParameterCount

/** * Gets the count of parameters. */ 
pub fn getParameterCount(self: ArrowFunction) -> int; 

ArrowFunction::getParameterFirstIndex

pub fn getParameterFirstIndex(self: ArrowFunction) -> int; 

ArrowFunction::__all__

Data constraint method.

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

ArrowFunction::hasParameter

/** * Determine this FunctionLikeDeclaration contains any parameter. */ 
pub fn hasParameter(self: ArrowFunction) -> bool; 

ArrowFunction::getATypeParameter

/** * Gets a type parameter. */ 
pub fn getATypeParameter(self: ArrowFunction) -> *TypeParameter; 

ArrowFunction::getTypeNode

/** * Gets the type node. */ 
pub fn getTypeNode(self: ArrowFunction) -> TypeNode; 

ArrowFunction::getLastChild

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

ArrowFunction::getParent

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

ArrowFunction::getEndColumnNumber

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

ArrowFunction::getDecorator

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

ArrowFunction::getDecoratorCount

/** * Gets the number of decorators of this FunctionLikeDeclaration. */ 
pub fn getDecoratorCount(self: ArrowFunction) -> int; 

ArrowFunction::getName

/** * Gets the name of this function-like declaration */ 
pub fn getName(self: ArrowFunction) -> string; 

ArrowFunction::getParameter

/** * Gets the `i`th parameter. */ 
pub fn getParameter(self: ArrowFunction, i: int) -> Parameter; 

ArrowFunction::getParentOid

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

ArrowFunction::getAReturnStatement

pub fn getAReturnStatement(self: ArrowFunction) -> *ReturnStatement; 

ArrowFunction::getATrailingComment

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

ArrowFunction::getAnAncestor

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

ArrowFunction::getChild

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

ArrowFunction::getACallSite

/** * Gets a call site of this function-like declaration */ 
pub fn getACallSite(self: ArrowFunction) -> *MayInvokeExpression; 

ArrowFunction::getModifier

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

ArrowFunction::getTypeParameterFirstIndex

pub fn getTypeParameterFirstIndex(self: ArrowFunction) -> int; 

ArrowFunction::getModifierCount

/** * Gets the number of modifiers of this FunctionLikeDeclaration. */ 
pub fn getModifierCount(self: ArrowFunction) -> int; 

ArrowFunction::getCyclomaticComplexity

/** * Gets the cyclomatic complexity of this function-like declaration */ 
pub fn getCyclomaticComplexity(self: ArrowFunction) -> int; 

ArrowFunction::getRoot

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

ArrowFunction::getNameNode

/** * Gets the name node, which is a PropertyName. */ 
pub fn getNameNode(self: ArrowFunction) -> PropertyName; 

ArrowFunction::getChildCount

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

ArrowFunction::getAReturnedExpression

pub fn getAReturnedExpression(self: ArrowFunction) -> *Expression; 

ArrowFunction::getAChild

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

ArrowFunction::getStartColumnNumber

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

ArrowFunction::getStartLineNumber

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

ArrowFunction::getEndLineNumber

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