ClassDeclarationStatement

/** * A class declaration statement. */ 

Inherit from DeclarationStatement

Primary key: id: int

schema ClassDeclarationStatement extends DeclarationStatement { @primary id: int } 

ClassDeclarationStatement::getADecorator

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

ClassDeclarationStatement::getAComment

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

ClassDeclarationStatement::getText

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

ClassDeclarationStatement::getModifier

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

ClassDeclarationStatement::getFile

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

ClassDeclarationStatement::getALeadingComment

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

ClassDeclarationStatement::getADescendant

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

ClassDeclarationStatement::getEnclosingFunction

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

ClassDeclarationStatement::getAnAncestor

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

ClassDeclarationStatement::getDecorator

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

ClassDeclarationStatement::getChildCount

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

ClassDeclarationStatement::getEndColumnNumber

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

ClassDeclarationStatement::getParent

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

ClassDeclarationStatement::getLastChild

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

ClassDeclarationStatement::getIndex

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

ClassDeclarationStatement::__all__

Data constraint method.

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

ClassDeclarationStatement::getLocation

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

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

ClassDeclarationStatement::getRelativePath

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

ClassDeclarationStatement::getAnAncestorEnclosingFunction

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

ClassDeclarationStatement::getSymbol

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

ClassDeclarationStatement::getRoot

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

ClassDeclarationStatement::getParentOid

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

ClassDeclarationStatement::getEndLineNumber

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

ClassDeclarationStatement::getATrailingComment

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

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

ClassDeclarationStatement::getChild

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

ClassDeclarationStatement::getAChild

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

ClassDeclarationStatement::getStartColumnNumber

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

ClassDeclarationStatement::getStartLineNumber

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

ClassDeclarationStatement::getAModifier

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

ClassDeclarationStatement::getKind

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