ClassExpressionDeclaration

/**
* A ClassExpression
*/

Inherit from ClassLikeDeclaration

Primary key: id: int

schema ClassExpressionDeclaration extends ClassLikeDeclaration {
  @primary id: int
}

ClassExpressionDeclaration::getSymbol

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

ClassExpressionDeclaration::getAnAncestorEnclosingFunction

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

ClassExpressionDeclaration::getIndex

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

ClassExpressionDeclaration::getParentOid

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

ClassExpressionDeclaration::getRelativePath

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

ClassExpressionDeclaration::getLastChild

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

ClassExpressionDeclaration::getEndColumnNumber

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

ClassExpressionDeclaration::getParent

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

ClassExpressionDeclaration::getChildCount

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

ClassExpressionDeclaration::getDecorator

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

ClassExpressionDeclaration::getEndLineNumber

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

ClassExpressionDeclaration::getATrailingComment

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

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

ClassExpressionDeclaration::getChild

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

ClassExpressionDeclaration::getRoot

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

ClassExpressionDeclaration::getAChild

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

ClassExpressionDeclaration::getStartColumnNumber

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

ClassExpressionDeclaration::getStartLineNumber

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

ClassExpressionDeclaration::__all__

Data constraint method.

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

ClassExpressionDeclaration::getLocation

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

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

ClassExpressionDeclaration::getKind

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

ClassExpressionDeclaration::getAModifier

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

ClassExpressionDeclaration::getAnAncestor

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

ClassExpressionDeclaration::getEnclosingFunction

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

ClassExpressionDeclaration::getADescendant

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

ClassExpressionDeclaration::getALeadingComment

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

ClassExpressionDeclaration::getFile

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

ClassExpressionDeclaration::getModifier

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

ClassExpressionDeclaration::getText

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

ClassExpressionDeclaration::getAComment

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

ClassExpressionDeclaration::getADecorator

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