Discover Packages
github.com/MontFerret/api
source
package
Version:
v1.0.0-alpha.14
Opens a new window with list of versions in this module.
Published: Sep 6, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package source defines portable Ferret source inputs and coordinates. Span
offset units remain defined by the producer of each source value.
type Location struct {
Position
SourceName string `json:"sourceName"`
}
Location adds the semantic source name to a Position. SourceName does not
imply that the source is backed by a local filesystem path.
type Position struct {
Line int `json:"line"`
Column int `json:"column"`
}
Position identifies a line and column within source text.
Range combines a source Location with its producer-defined Span.
type Source struct {
Name string `json:"name"`
Content string `json:"content"`
}
type Span struct {
Start int `json:"start"`
End int `json:"end"`
}
Span identifies a producer-defined interval within source text. Its offset
units are defined by the producer rather than by the universal API.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.