SetAccessor
/** * A `set` Accessor. */
Inherit from FunctionLikeDeclaration
Primary key: id: int
schema SetAccessor extends FunctionLikeDeclaration { @primary id: int }
SetAccessor::getText
/** * Gets the text of this node. */
- Parameter
self
:SetAccessor
- Return
string
pub fn getText(self: SetAccessor) -> string;
SetAccessor::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
:SetAccessor
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: SetAccessor, level: int) -> *Node;
SetAccessor::getLocation
/** * Gets the location of this node. */
- Parameter
self
:SetAccessor
- Return
Location
pub fn getLocation(self: SetAccessor) -> Location;
SetAccessor::getFile
/** * Gets the file of this node. */
- Parameter
self
:SetAccessor
- Return
File
pub fn getFile(self: SetAccessor) -> File;
SetAccessor::getADecorator
/** * Gets a decorator of this FunctionLikeDeclaration. */
- Parameter
self
:SetAccessor
- Return
*Decorator
pub fn getADecorator(self: SetAccessor) -> *Decorator;
SetAccessor::getALeadingComment
/** * Gets the leading comments of it */
- Parameter
self
:SetAccessor
- Return
*Comment
pub fn getALeadingComment(self: SetAccessor) -> *Comment;
SetAccessor::getADescendant
/** * Gets a descendant of this node. */
- Parameter
self
:SetAccessor
- Return
*Node
pub fn getADescendant(self: SetAccessor) -> *Node;
SetAccessor::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
:SetAccessor
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: SetAccessor, level: int) -> Node;
SetAccessor::isGenerator
/** * Determines whether this FunctionLikeDeclaration is a generator. */
- Parameter
self
:SetAccessor
- Return
bool
pub fn isGenerator(self: SetAccessor) -> bool;
SetAccessor::getKind
/** * Get the syntax kind of this node */
- Parameter
self
:SetAccessor
- Return
int
pub fn getKind(self: SetAccessor) -> int;
SetAccessor::getAModifier
/** * Gets a modifier of this FunctionLikeDeclaration. */
- Parameter
self
:SetAccessor
- Return
*Modifier
pub fn getAModifier(self: SetAccessor) -> *Modifier;
SetAccessor::getAComment
/** * Gets the comments related to it */
- Parameter
self
:SetAccessor
- Return
*Comment
pub fn getAComment(self: SetAccessor) -> *Comment;
SetAccessor::getBody
/** * Gets the body of this function-like declaration */
- Parameter
self
:SetAccessor
- Return
BlockStatement
pub fn getBody(self: SetAccessor) -> BlockStatement;
SetAccessor::getTypeParameterCount
/** * Gets the count of type parameters. */
- Parameter
self
:SetAccessor
- Return
int
pub fn getTypeParameterCount(self: SetAccessor) -> int;
SetAccessor::getSymbol
/** * Gets the symbol associated with this node. */
- Parameter
self
:SetAccessor
- Return
Symbol
pub fn getSymbol(self: SetAccessor) -> Symbol;
SetAccessor::getAnAncestorEnclosingFunction
/** * Gets an ancestor enclosing function of it */
- Parameter
self
:SetAccessor
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: SetAccessor) -> *FunctionLikeDeclaration;
SetAccessor::getTypeParameter
/** * Gets the `i`th type parameter. */
- Parameter
self
:SetAccessor
- Parameter
i
:int
- Return
TypeParameter
pub fn getTypeParameter(self: SetAccessor, i: int) -> TypeParameter;
SetAccessor::getIndex
- Parameter
self
:SetAccessor
- Return
int
pub fn getIndex(self: SetAccessor) -> int;
SetAccessor::getAParameter
/** * Gets a parameter. */
- Parameter
self
:SetAccessor
- Return
*Parameter
pub fn getAParameter(self: SetAccessor) -> *Parameter;
SetAccessor::getEnclosingFunction
/** * Gets the enclosing function of it */
- Parameter
self
:SetAccessor
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: SetAccessor) -> FunctionLikeDeclaration;
SetAccessor::getRelativePath
/** * Gets the relative path of this node. */
- Parameter
self
:SetAccessor
- Return
string
pub fn getRelativePath(self: SetAccessor) -> string;
SetAccessor::getParameterCount
/** * Gets the count of parameters. */
- Parameter
self
:SetAccessor
- Return
int
pub fn getParameterCount(self: SetAccessor) -> int;
SetAccessor::getParameterFirstIndex
- Parameter
self
:SetAccessor
- Return
int
pub fn getParameterFirstIndex(self: SetAccessor) -> int;
SetAccessor::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*SetAccessor
pub fn __all__(db: JavascriptDB) -> *SetAccessor;
SetAccessor::hasParameter
/** * Determine this FunctionLikeDeclaration contains any parameter. */
- Parameter
self
:SetAccessor
- Return
bool
pub fn hasParameter(self: SetAccessor) -> bool;
SetAccessor::getATypeParameter
/** * Gets a type parameter. */
- Parameter
self
:SetAccessor
- Return
*TypeParameter
pub fn getATypeParameter(self: SetAccessor) -> *TypeParameter;
SetAccessor::getTypeNode
/** * Gets the type node. */
- Parameter
self
:SetAccessor
- Return
TypeNode
pub fn getTypeNode(self: SetAccessor) -> TypeNode;
SetAccessor::getLastChild
/** * Gets the last child of this node parent. */
- Parameter
self
:SetAccessor
- Return
Node
pub fn getLastChild(self: SetAccessor) -> Node;
SetAccessor::getParent
/** * Gets the parent node of this node. */
- Parameter
self
:SetAccessor
- Return
Node
pub fn getParent(self: SetAccessor) -> Node;
SetAccessor::getEndColumnNumber
- Parameter
self
:SetAccessor
- Return
int
pub fn getEndColumnNumber(self: SetAccessor) -> int;
SetAccessor::getDecorator
/** * Gets the `i`th decorator of this FunctionLikeDeclaration. */
- Parameter
self
:SetAccessor
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: SetAccessor, i: int) -> Decorator;
SetAccessor::getDecoratorCount
/** * Gets the number of decorators of this FunctionLikeDeclaration. */
- Parameter
self
:SetAccessor
- Return
int
pub fn getDecoratorCount(self: SetAccessor) -> int;
SetAccessor::getName
/** * Gets the name of this function-like declaration */
- Parameter
self
:SetAccessor
- Return
string
pub fn getName(self: SetAccessor) -> string;
SetAccessor::getParameter
/** * Gets the `i`th parameter. */
- Parameter
self
:SetAccessor
- Parameter
i
:int
- Return
Parameter
pub fn getParameter(self: SetAccessor, i: int) -> Parameter;
SetAccessor::getParentOid
/** * Gets the parent oid of this node. */
- Parameter
self
:SetAccessor
- Return
int
pub fn getParentOid(self: SetAccessor) -> int;
SetAccessor::getAReturnStatement
- Parameter
self
:SetAccessor
- Return
*ReturnStatement
pub fn getAReturnStatement(self: SetAccessor) -> *ReturnStatement;
SetAccessor::getATrailingComment
/** * Gets the trailing comments of it */
- Parameter
self
:SetAccessor
- Return
*Comment
pub fn getATrailingComment(self: SetAccessor) -> *Comment;
SetAccessor::getAnAncestor
/** * Gets an ancestor of this node. */
- Parameter
self
:SetAccessor
- Return
*Node
pub fn getAnAncestor(self: SetAccessor) -> *Node;
SetAccessor::getChild
/** * Gets the `i`th child of this node. */
- Parameter
self
:SetAccessor
- Parameter
i
:int
- Return
Node
pub fn getChild(self: SetAccessor, i: int) -> Node;
SetAccessor::getACallSite
/** * Gets a call site of this function-like declaration */
- Parameter
self
:SetAccessor
- Return
*MayInvokeExpression
pub fn getACallSite(self: SetAccessor) -> *MayInvokeExpression;
SetAccessor::getModifier
/** * Gets the `i`th modifier of this FunctionLikeDeclaration. */
- Parameter
self
:SetAccessor
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: SetAccessor, i: int) -> Modifier;
SetAccessor::getTypeParameterFirstIndex
- Parameter
self
:SetAccessor
- Return
int
pub fn getTypeParameterFirstIndex(self: SetAccessor) -> int;
SetAccessor::getModifierCount
/** * Gets the number of modifiers of this FunctionLikeDeclaration. */
- Parameter
self
:SetAccessor
- Return
int
pub fn getModifierCount(self: SetAccessor) -> int;
SetAccessor::getCyclomaticComplexity
/** * Gets the cyclomatic complexity of this function-like declaration */
- Parameter
self
:SetAccessor
- Return
int
pub fn getCyclomaticComplexity(self: SetAccessor) -> int;
SetAccessor::getRoot
/** * Gets the root top-level of this node. */
- Parameter
self
:SetAccessor
- Return
TopLevelDO
pub fn getRoot(self: SetAccessor) -> TopLevelDO;
SetAccessor::getNameNode
/** * Gets the name node, which is a PropertyName. */
- Parameter
self
:SetAccessor
- Return
PropertyName
pub fn getNameNode(self: SetAccessor) -> PropertyName;
SetAccessor::getChildCount
/** * Gets the number of child nodes. */
- Parameter
self
:SetAccessor
- Return
int
pub fn getChildCount(self: SetAccessor) -> int;
SetAccessor::getAReturnedExpression
- Parameter
self
:SetAccessor
- Return
*Expression
pub fn getAReturnedExpression(self: SetAccessor) -> *Expression;
SetAccessor::getAChild
/** * Gets a child node of this node. */
- Parameter
self
:SetAccessor
- Return
*Node
pub fn getAChild(self: SetAccessor) -> *Node;
SetAccessor::getStartColumnNumber
- Parameter
self
:SetAccessor
- Return
int
pub fn getStartColumnNumber(self: SetAccessor) -> int;
SetAccessor::getStartLineNumber
- Parameter
self
:SetAccessor
- Return
int
pub fn getStartLineNumber(self: SetAccessor) -> int;
SetAccessor::getEndLineNumber
- Parameter
self
:SetAccessor
- Return
int
pub fn getEndLineNumber(self: SetAccessor) -> int;