ConstructorElement

/**
* A ConstructorElement
*/

Inherit from ClassElement

Primary key: id: int

schema ConstructorElement extends ClassElement {
  @primary id: int
}

ConstructorElement::getSymbol

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

ConstructorElement::getAnAncestorEnclosingFunction

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

ConstructorElement::getIndex

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

ConstructorElement::getParentOid

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

ConstructorElement::getRelativePath

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

ConstructorElement::getLastChild

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

ConstructorElement::getEndColumnNumber

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

ConstructorElement::getParent

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

ConstructorElement::getChildCount

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

ConstructorElement::getDecorator

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

ConstructorElement::getEndLineNumber

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

ConstructorElement::getATrailingComment

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

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

ConstructorElement::getChild

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

ConstructorElement::getRoot

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

ConstructorElement::getAChild

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

ConstructorElement::getStartColumnNumber

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

ConstructorElement::getStartLineNumber

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

ConstructorElement::__all__

Data constraint method.

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

ConstructorElement::getLocation

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

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

ConstructorElement::getKind

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

ConstructorElement::getAModifier

/**
* Gets a modifier.
*/
pub fn getAModifier(self: ConstructorElement) -> *Modifier;

ConstructorElement::getAnAncestor

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

ConstructorElement::getEnclosingFunction

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

ConstructorElement::getADescendant

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

ConstructorElement::getALeadingComment

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

ConstructorElement::getFile

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

ConstructorElement::getModifier

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

ConstructorElement::getText

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

ConstructorElement::getAComment

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

ConstructorElement::getADecorator

/**
* Gets a decorator.
*/
pub fn getADecorator(self: ConstructorElement) -> *Decorator;