a940c30903
The new "Nav" member on a zcl.File is an opaque object that can be populated by parsers with an object that supports certain interfaces that are not part of the main API but are useful for integration with editors and other tooling. As a first example of this, we replace the hack for getting context in the diagnostic package with a new ContextString interface, which can then be optionally implemented by a given parser to return a contextual string native to the source language.
5 lines
221 B
Go
5 lines
221 B
Go
// Package zcled provides functionality intended to help an application
|
|
// that embeds zcl to deliver relevant information to a text editor or IDE
|
|
// for navigating around and analyzing configuration files.
|
|
package zcled
|