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