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

ConstructorDeclaration::getLocation

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

ConstructorDeclaration::getFile

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

ConstructorDeclaration::getADecorator

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

ConstructorDeclaration::getALeadingComment

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

ConstructorDeclaration::getADescendant

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

ConstructorDeclaration::isGenerator

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

ConstructorDeclaration::getKind

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

ConstructorDeclaration::getAModifier

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

ConstructorDeclaration::getAComment

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

ConstructorDeclaration::getBody

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

ConstructorDeclaration::getTypeParameterCount

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

ConstructorDeclaration::getSymbol

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

ConstructorDeclaration::getAnAncestorEnclosingFunction

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

ConstructorDeclaration::getTypeParameter

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

ConstructorDeclaration::getIndex

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

ConstructorDeclaration::getAParameter

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

ConstructorDeclaration::getEnclosingFunction

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

ConstructorDeclaration::getRelativePath

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

ConstructorDeclaration::getParameterCount

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

ConstructorDeclaration::getParameterFirstIndex

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

ConstructorDeclaration::__all__

Data constraint method.

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

ConstructorDeclaration::hasParameter

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

ConstructorDeclaration::getATypeParameter

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

ConstructorDeclaration::getTypeNode

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

ConstructorDeclaration::getLastChild

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

ConstructorDeclaration::getParent

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

ConstructorDeclaration::getEndColumnNumber

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

ConstructorDeclaration::getDecorator

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

ConstructorDeclaration::getDecoratorCount

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

ConstructorDeclaration::getName

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

ConstructorDeclaration::getParameter

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

ConstructorDeclaration::getParentOid

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

ConstructorDeclaration::getAReturnStatement

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

ConstructorDeclaration::getATrailingComment

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

ConstructorDeclaration::getAnAncestor

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

ConstructorDeclaration::getChild

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

ConstructorDeclaration::getACallSite

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

ConstructorDeclaration::getModifier

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

ConstructorDeclaration::getTypeParameterFirstIndex

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

ConstructorDeclaration::getModifierCount

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

ConstructorDeclaration::getCyclomaticComplexity

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

ConstructorDeclaration::getRoot

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

ConstructorDeclaration::getNameNode

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

ConstructorDeclaration::getChildCount

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

ConstructorDeclaration::getAReturnedExpression

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

ConstructorDeclaration::getAChild

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

ConstructorDeclaration::getStartColumnNumber

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

ConstructorDeclaration::getStartLineNumber

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

ConstructorDeclaration::getEndLineNumber

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