hcl/zcl
Martin Atkins 92e407e672 Body.JustAttributes method
The Content and PartialContent methods deal with the case where the caller
knows what structure is expected within the body, but sometimes the
structure of a body is just a free-form set of attributes that the caller
needs to enumerate.

The idea here is that the block in question must contain only attributes,
and no child blocks. For JSON this just entails interpreting every
property as an attribute. For native syntax later this will mean
producing an error diagnostic if any blocks appear within the body.
2017-05-20 14:35:19 -07:00
..
json Body.JustAttributes method 2017-05-20 14:35:19 -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_test.go Body.JustAttributes method 2017-05-20 14:35:19 -07:00
merged.go Body.JustAttributes method 2017-05-20 14:35:19 -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 Body.JustAttributes method 2017-05-20 14:35:19 -07:00