GetAccessor

/** * A `get` accessor. */ 

Inherit from FunctionLikeDeclaration

Primary key: id: int

schema GetAccessor extends FunctionLikeDeclaration { @primary id: int } 

GetAccessor::getText

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

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

GetAccessor::getLocation

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

GetAccessor::getFile

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

GetAccessor::getADecorator

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

GetAccessor::getALeadingComment

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

GetAccessor::getADescendant

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

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

GetAccessor::isGenerator

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

GetAccessor::getKind

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

GetAccessor::getAModifier

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

GetAccessor::getAComment

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

GetAccessor::getBody

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

GetAccessor::getTypeParameterCount

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

GetAccessor::getSymbol

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

GetAccessor::getAnAncestorEnclosingFunction

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

GetAccessor::getTypeParameter

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

GetAccessor::getIndex

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

GetAccessor::getAParameter

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

GetAccessor::getEnclosingFunction

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

GetAccessor::getRelativePath

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

GetAccessor::getParameterCount

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

GetAccessor::getParameterFirstIndex

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

GetAccessor::__all__

Data constraint method.

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

GetAccessor::hasParameter

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

GetAccessor::getATypeParameter

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

GetAccessor::getTypeNode

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

GetAccessor::getLastChild

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

GetAccessor::getParent

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

GetAccessor::getEndColumnNumber

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

GetAccessor::getDecorator

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

GetAccessor::getDecoratorCount

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

GetAccessor::getName

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

GetAccessor::getParameter

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

GetAccessor::getParentOid

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

GetAccessor::getAReturnStatement

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

GetAccessor::getATrailingComment

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

GetAccessor::getAnAncestor

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

GetAccessor::getChild

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

GetAccessor::getACallSite

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

GetAccessor::getModifier

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

GetAccessor::getTypeParameterFirstIndex

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

GetAccessor::getModifierCount

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

GetAccessor::getCyclomaticComplexity

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

GetAccessor::getRoot

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

GetAccessor::getNameNode

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

GetAccessor::getChildCount

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

GetAccessor::getAReturnedExpression

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

GetAccessor::getAChild

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

GetAccessor::getStartColumnNumber

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

GetAccessor::getStartLineNumber

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

GetAccessor::getEndLineNumber

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