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