package
Version:
v2.1.19
Opens a new window with list of versions in this module.
Published: Jan 7, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Comment - struct with comment value and its position on file
IsEmpty returns true if comment is empty, otherwise returns false
Line returns the line comment starts
Value returns comment value
Parser represents a list of code tokens
NewParser parses the content of a file and return a parser with its tokens
ParseCommentsForNode returns a comment in the range given in rg, if exists
Source Files
¶
Click to show internal directories.
Click to hide internal directories.