ConstDecl
Inherit from Decl
Primary key: id: int
schema ConstDecl extends Decl {
@primary id: int
}
ConstDecl::getParentNode
pub fn getParentNode(self: ConstDecl) -> Node;
ConstDecl::isImportDecl
- Parameter
self
:ConstDecl
- Return
bool
pub fn isImportDecl(self: ConstDecl) -> bool;
ConstDecl::getAssociatedCommentString
- Parameter
self
:ConstDecl
- Return
string
pub fn getAssociatedCommentString(self: ConstDecl) -> string;
ConstDecl::isRootNode
- Parameter
self
:ConstDecl
- Return
bool
pub fn isRootNode(self: ConstDecl) -> bool;
ConstDecl::getKind
- Parameter
self
:ConstDecl
- Return
int
pub fn getKind(self: ConstDecl) -> int;
ConstDecl::__all__
Data constraint method.
- Parameter
db
:GoDB
- Return
*ConstDecl
pub fn __all__(db: GoDB) -> *ConstDecl;
ConstDecl::isTypeDecl
- Parameter
self
:ConstDecl
- Return
bool
pub fn isTypeDecl(self: ConstDecl) -> bool;
ConstDecl::getLocation
pub fn getLocation(self: ConstDecl) -> Location;
ConstDecl::isBadDecl
- Parameter
self
:ConstDecl
- Return
bool
pub fn isBadDecl(self: ConstDecl) -> bool;
ConstDecl::isLocalVaribleDecl
- Parameter
self
:ConstDecl
- Return
bool
pub fn isLocalVaribleDecl(self: ConstDecl) -> bool;
ConstDecl::getAchildNode
pub fn getAchildNode(self: ConstDecl) -> *Node;
ConstDecl::countAssociatedComment
- Parameter
self
:ConstDecl
- Return
int
pub fn countAssociatedComment(self: ConstDecl) -> int;
ConstDecl::getAnAncestor
pub fn getAnAncestor(self: ConstDecl) -> *Node;
ConstDecl::isConstDecl
- Parameter
self
:ConstDecl
- Return
bool
pub fn isConstDecl(self: ConstDecl) -> bool;
ConstDecl::getAnAncestorForIndex
pub fn getAnAncestorForIndex(self: ConstDecl, index: int) -> Node;
ConstDecl::print
- Parameter
self
:ConstDecl
- Return
*string
pub fn print(self: ConstDecl) -> *string;
ConstDecl::getType
- Parameter
self
:ConstDecl
- Return
string
pub fn getType(self: ConstDecl) -> string;
ConstDecl::getBelongsFile
pub fn getBelongsFile(self: ConstDecl) -> File;
ConstDecl::isFuncDecl
- Parameter
self
:ConstDecl
- Return
bool
pub fn isFuncDecl(self: ConstDecl) -> bool;
ConstDecl::getTextStartOffset
- Parameter
self
:ConstDecl
- Return
int
pub fn getTextStartOffset(self: ConstDecl) -> int;
ConstDecl::getChildCount
- Parameter
self
:ConstDecl
- Return
int
pub fn getChildCount(self: ConstDecl) -> int;
ConstDecl::isVarDecl
- Parameter
self
:ConstDecl
- Return
bool
pub fn isVarDecl(self: ConstDecl) -> bool;
ConstDecl::getTextSize
- Parameter
self
:ConstDecl
- Return
int
pub fn getTextSize(self: ConstDecl) -> int;
ConstDecl::getBelongsFunction
pub fn getBelongsFunction(self: ConstDecl) -> Function;
ConstDecl::getText
// getText Extract the text associated with a specific node in a file
- Parameter
self
:ConstDecl
- Return
string
pub fn getText(self: ConstDecl) -> string;
ConstDecl::getDepthFromRoot
- Parameter
self
:ConstDecl
- Return
int
pub fn getDepthFromRoot(self: ConstDecl) -> int;
ConstDecl::hasLocation
- Parameter
self
:ConstDecl
- Return
bool
pub fn hasLocation(self: ConstDecl) -> bool;