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