DocComment

Inherit from Node

Primary key: id: int

schema DocComment extends Node {
  @primary id: int
}

DocComment::hasLocation

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

DocComment::getAnAncestorForIndex

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

DocComment::getAnAncestor

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

DocComment::getBelongsFunction

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

DocComment::countAssociatedComment

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

DocComment::getParentNode

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

DocComment::isRootNode

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

DocComment::getDepthFromRoot

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

DocComment::getTextStartOffset

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

DocComment::getLocation

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

DocComment::__all__

Data constraint method.

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

DocComment::getBelongsFile

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

DocComment::getText

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

DocComment::getType

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

DocComment::getChildCount

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

DocComment::getTextSize

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

DocComment::print

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

DocComment::getCommentGroup

pub fn getCommentGroup(self: DocComment) -> Node;

DocComment::getAssociateObj

pub fn getAssociateObj(self: DocComment) -> Node;

DocComment::getAssociatedCommentString

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

DocComment::getAchildNode

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