Documentation
¶
Overview ¶
Package grammarpatch declares pinned upstream grammar overlays.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Regenerate ¶ added in v0.57.0
Regenerate rebuilds parser.c after an overlay using its pinned generator. Grammars with an npm lockfile retain their own installer; Make uses the CLI version already pinned by the parity Docker image because it has no lockfile.
Types ¶
type Spec ¶
type Spec struct {
File string
RegenerateParser bool
// GeneratorVersion uses the harness-provided CLI instead of a grammar-owned npm lockfile.
GeneratorVersion string
}
Spec describes one checked-in grammar source overlay.
func (Spec) RegenerateForHarness ¶ added in v0.57.0
RegenerateForHarness keeps mixed-revision oracle harnesses compatible.
Click to show internal directories.
Click to hide internal directories.