package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: Aug 6, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Diagnostic struct {
Severity string `json:"severity"`
Message string `json:"message"`
Span Span `json:"span"`
}
type Position struct {
Offset int `json:"offset"`
Line int `json:"line"`
Column int `json:"column"`
}
Target-independent compiler values are the first self-hosted boundary.
They deliberately contain no Go-native syntax.
type Span struct {
Start Position `json:"start"`
Finish Position `json:"finish"`
}
type Token struct {
Kind string `json:"kind"`
Lexeme string `json:"lexeme"`
Span Span `json:"span"`
}
type TypeRef struct {
Name string `json:"name"`
Arguments []TypeRef `json:"arguments"`
Nullable bool `json:"nullable"`
Array bool `json:"array"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.