ClassDeclarationStatement
/** * A class declaration statement. */
Inherit from DeclarationStatement
Primary key: id: int
schema ClassDeclarationStatement extends DeclarationStatement { @primary id: int }
ClassDeclarationStatement::getADecorator
/** * Gets a decorator. */
- Parameter
self
:ClassDeclarationStatement
- Return
*Decorator
pub fn getADecorator(self: ClassDeclarationStatement) -> *Decorator;
ClassDeclarationStatement::getAComment
/** * Gets the comments related to it */
- Parameter
self
:ClassDeclarationStatement
- Return
*Comment
pub fn getAComment(self: ClassDeclarationStatement) -> *Comment;
ClassDeclarationStatement::getText
/** * Gets the text of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
string
pub fn getText(self: ClassDeclarationStatement) -> string;
ClassDeclarationStatement::getModifier
/** * Gets the `i`th modifier. */
- Parameter
self
:ClassDeclarationStatement
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: ClassDeclarationStatement, i: int) -> Modifier;
ClassDeclarationStatement::getFile
/** * Gets the file of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
File
pub fn getFile(self: ClassDeclarationStatement) -> File;
ClassDeclarationStatement::getALeadingComment
/** * Gets the leading comments of it */
- Parameter
self
:ClassDeclarationStatement
- Return
*Comment
pub fn getALeadingComment(self: ClassDeclarationStatement) -> *Comment;
ClassDeclarationStatement::getADescendant
/** * Gets a descendant of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
*Node
pub fn getADescendant(self: ClassDeclarationStatement) -> *Node;
ClassDeclarationStatement::getEnclosingFunction
/** * Gets the enclosing function of it */
- Parameter
self
:ClassDeclarationStatement
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: ClassDeclarationStatement) -> FunctionLikeDeclaration;
ClassDeclarationStatement::getAnAncestor
/** * Gets an ancestor of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
*Node
pub fn getAnAncestor(self: ClassDeclarationStatement) -> *Node;
ClassDeclarationStatement::getDecorator
/** * Gets the `i`th decorator. */
- Parameter
self
:ClassDeclarationStatement
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: ClassDeclarationStatement, i: int) -> Decorator;
ClassDeclarationStatement::getChildCount
/** * Gets the number of child nodes. */
- Parameter
self
:ClassDeclarationStatement
- Return
int
pub fn getChildCount(self: ClassDeclarationStatement) -> int;
ClassDeclarationStatement::getEndColumnNumber
- Parameter
self
:ClassDeclarationStatement
- Return
int
pub fn getEndColumnNumber(self: ClassDeclarationStatement) -> int;
ClassDeclarationStatement::getParent
/** * Gets the parent node of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
Node
pub fn getParent(self: ClassDeclarationStatement) -> Node;
ClassDeclarationStatement::getLastChild
/** * Gets the last child of this node parent. */
- Parameter
self
:ClassDeclarationStatement
- Return
Node
pub fn getLastChild(self: ClassDeclarationStatement) -> Node;
ClassDeclarationStatement::getIndex
- Parameter
self
:ClassDeclarationStatement
- Return
int
pub fn getIndex(self: ClassDeclarationStatement) -> int;
ClassDeclarationStatement::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*ClassDeclarationStatement
pub fn __all__(db: JavascriptDB) -> *ClassDeclarationStatement;
ClassDeclarationStatement::getLocation
/** * Gets the location of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
Location
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. */
- Parameter
self
:ClassDeclarationStatement
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: ClassDeclarationStatement, level: int) -> *Node;
ClassDeclarationStatement::getRelativePath
/** * Gets the relative path of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
string
pub fn getRelativePath(self: ClassDeclarationStatement) -> string;
ClassDeclarationStatement::getAnAncestorEnclosingFunction
/** * Gets an ancestor enclosing function of it */
- Parameter
self
:ClassDeclarationStatement
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: ClassDeclarationStatement) -> *FunctionLikeDeclaration;
ClassDeclarationStatement::getSymbol
/** * Gets the symbol associated with this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
Symbol
pub fn getSymbol(self: ClassDeclarationStatement) -> Symbol;
ClassDeclarationStatement::getRoot
/** * Gets the root top-level of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
TopLevelDO
pub fn getRoot(self: ClassDeclarationStatement) -> TopLevelDO;
ClassDeclarationStatement::getParentOid
/** * Gets the parent oid of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
int
pub fn getParentOid(self: ClassDeclarationStatement) -> int;
ClassDeclarationStatement::getEndLineNumber
- Parameter
self
:ClassDeclarationStatement
- Return
int
pub fn getEndLineNumber(self: ClassDeclarationStatement) -> int;
ClassDeclarationStatement::getATrailingComment
/** * Gets the trailing comments of it */
- Parameter
self
:ClassDeclarationStatement
- Return
*Comment
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. */
- Parameter
self
:ClassDeclarationStatement
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: ClassDeclarationStatement, level: int) -> Node;
ClassDeclarationStatement::getChild
/** * Gets the `i`th child of this node. */
- Parameter
self
:ClassDeclarationStatement
- Parameter
i
:int
- Return
Node
pub fn getChild(self: ClassDeclarationStatement, i: int) -> Node;
ClassDeclarationStatement::getAChild
/** * Gets a child node of this node. */
- Parameter
self
:ClassDeclarationStatement
- Return
*Node
pub fn getAChild(self: ClassDeclarationStatement) -> *Node;
ClassDeclarationStatement::getStartColumnNumber
- Parameter
self
:ClassDeclarationStatement
- Return
int
pub fn getStartColumnNumber(self: ClassDeclarationStatement) -> int;
ClassDeclarationStatement::getStartLineNumber
- Parameter
self
:ClassDeclarationStatement
- Return
int
pub fn getStartLineNumber(self: ClassDeclarationStatement) -> int;
ClassDeclarationStatement::getAModifier
/** * Gets a modifier. */
- Parameter
self
:ClassDeclarationStatement
- Return
*Modifier
pub fn getAModifier(self: ClassDeclarationStatement) -> *Modifier;
ClassDeclarationStatement::getKind
/** * Get the syntax kind of this node */
- Parameter
self
:ClassDeclarationStatement
- Return
int
pub fn getKind(self: ClassDeclarationStatement) -> int;