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.
*/
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.
*/
pub fn getADescendantByLevel(self: SetAccessor, level: int) -> *Node;

SetAccessor::getLocation

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

SetAccessor::getFile

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

SetAccessor::getADecorator

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

SetAccessor::getALeadingComment

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

SetAccessor::getADescendant

/**
* Gets a descendant of this 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.
*/
pub fn getAnAncestorByLevel(self: SetAccessor, level: int) -> Node;

SetAccessor::isGenerator

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

SetAccessor::getKind

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

SetAccessor::getAModifier

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

SetAccessor::getAComment

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

SetAccessor::getBody

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

SetAccessor::getTypeParameterCount

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

SetAccessor::getSymbol

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

SetAccessor::getAnAncestorEnclosingFunction

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

SetAccessor::getTypeParameter

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

SetAccessor::getIndex

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

SetAccessor::getAParameter

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

SetAccessor::getEnclosingFunction

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

SetAccessor::getRelativePath

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

SetAccessor::getParameterCount

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

SetAccessor::getParameterFirstIndex

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

SetAccessor::__all__

Data constraint method.

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

SetAccessor::hasParameter

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

SetAccessor::getATypeParameter

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

SetAccessor::getTypeNode

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

SetAccessor::getLastChild

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

SetAccessor::getParent

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

SetAccessor::getEndColumnNumber

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

SetAccessor::getDecorator

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

SetAccessor::getDecoratorCount

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

SetAccessor::getName

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

SetAccessor::getParameter

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

SetAccessor::getParentOid

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

SetAccessor::getAReturnStatement

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

SetAccessor::getATrailingComment

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

SetAccessor::getAnAncestor

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

SetAccessor::getChild

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

SetAccessor::getACallSite

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

SetAccessor::getModifier

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

SetAccessor::getTypeParameterFirstIndex

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

SetAccessor::getModifierCount

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

SetAccessor::getCyclomaticComplexity

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

SetAccessor::getRoot

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

SetAccessor::getNameNode

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

SetAccessor::getChildCount

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

SetAccessor::getAReturnedExpression

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

SetAccessor::getAChild

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

SetAccessor::getStartColumnNumber

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

SetAccessor::getStartLineNumber

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

SetAccessor::getEndLineNumber

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