hcl/zcl
Martin Atkins a940c30903 Mechanism for introspection of source code for editors
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.
2017-05-19 19:33:58 -07:00
..
json json: start of low-level decoding 2017-05-19 19:33:58 -07:00
diagnostic_text_test.go Mechanism for introspection of source code for editors 2017-05-19 19:33:58 -07:00
diagnostic_text.go Mechanism for introspection of source code for editors 2017-05-19 19:33:58 -07:00
diagnostic.go Initial support for printing out diagnostics 2017-05-18 19:01:41 -07:00
doc.go Initial stubs of the public API 2017-05-13 17:44:11 -07:00
merged.go Interface for treating several files as one file 2017-05-18 08:10:21 -07:00
pos.go Utilities for constructing diagnostics 2017-05-15 08:33:22 -07:00
schema.go json: start of low-level decoding 2017-05-19 19:33:58 -07:00
structure.go Mechanism for introspection of source code for editors 2017-05-19 19:33:58 -07:00