CommentGroup

Inherit from Node

Primary key: id: int

schema CommentGroup extends Node {
  @primary id: int
}

CommentGroup::hasLocation

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

CommentGroup::getAnAncestorForIndex

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

CommentGroup::getAnAncestor

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

CommentGroup::getBelongsFunction

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

CommentGroup::countAssociatedComment

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

CommentGroup::getParentNode

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

CommentGroup::isRootNode

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

CommentGroup::getDepthFromRoot

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

CommentGroup::print

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

CommentGroup::getTextSize

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

CommentGroup::getChildCount

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

CommentGroup::getLocation

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

CommentGroup::__all__

Data constraint method.

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

CommentGroup::getTextStartOffset

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

CommentGroup::getAssociatedCommentString

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

CommentGroup::getAchildNode

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

CommentGroup::getType

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

CommentGroup::getText

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

CommentGroup::getBelongsFile

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