ImportSpec

Inherit from Spec

Primary key: id: int

schema ImportSpec extends Spec {
  @primary id: int
}

ImportSpec::getBelongsFunction

pub fn getBelongsFunction(self: ImportSpec) -> Function;

ImportSpec::isImportSpec

pub fn isImportSpec(self: ImportSpec) -> bool;

ImportSpec::getText

// getText Extract the text associated with a specific node in a file
pub fn getText(self: ImportSpec) -> string;

ImportSpec::countAssociatedComment

pub fn countAssociatedComment(self: ImportSpec) -> int;

ImportSpec::isAliasSpec

pub fn isAliasSpec(self: ImportSpec) -> bool;

ImportSpec::getKind

pub fn getKind(self: ImportSpec) -> int;

ImportSpec::getParentNode

pub fn getParentNode(self: ImportSpec) -> Node;

ImportSpec::getAssociatedCommentString

pub fn getAssociatedCommentString(self: ImportSpec) -> string;

ImportSpec::getTextStartOffset

pub fn getTextStartOffset(self: ImportSpec) -> int;

ImportSpec::getImportSpecName

pub fn getImportSpecName(self: ImportSpec) -> string;

ImportSpec::print

pub fn print(self: ImportSpec) -> *string;

ImportSpec::getType

pub fn getType(self: ImportSpec) -> string;

ImportSpec::getBelongsFile

pub fn getBelongsFile(self: ImportSpec) -> File;

ImportSpec::getLocation

pub fn getLocation(self: ImportSpec) -> Location;

ImportSpec::getImportSpecPath

pub fn getImportSpecPath(self: ImportSpec) -> string;

ImportSpec::getChildCount

pub fn getChildCount(self: ImportSpec) -> int;

ImportSpec::getTextSize

pub fn getTextSize(self: ImportSpec) -> int;

ImportSpec::getAchildNode

pub fn getAchildNode(self: ImportSpec) -> *Node;

ImportSpec::getAnAncestor

pub fn getAnAncestor(self: ImportSpec) -> *Node;

ImportSpec::getIdx

pub fn getIdx(self: ImportSpec) -> int;

ImportSpec::getAnAncestorForIndex

pub fn getAnAncestorForIndex(self: ImportSpec, index: int) -> Node;

ImportSpec::__all__

Data constraint method.

pub fn __all__(db: GoDB) -> *ImportSpec;

ImportSpec::isTypedefSpec

pub fn isTypedefSpec(self: ImportSpec) -> bool;

ImportSpec::getAssociatedGenDecl

pub fn getAssociatedGenDecl(self: ImportSpec) -> Node;

ImportSpec::isValueSpec

pub fn isValueSpec(self: ImportSpec) -> bool;

ImportSpec::hasLocation

pub fn hasLocation(self: ImportSpec) -> bool;

ImportSpec::getDepthFromRoot

pub fn getDepthFromRoot(self: ImportSpec) -> int;

ImportSpec::isRootNode

pub fn isRootNode(self: ImportSpec) -> bool;