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