hcl/zcl
Martin Atkins db5167e3d8 zclsyntax: recoverAfterBodyItem implementation
This recovery method attempts to place the peeker directly after the
newline indicating the end of the current body item. It does this by
counting open and close bracketing constructs and then returning when
a newline is encountered with no bracketing constructs open.

It's designed for use in the "header" part of a body item, with no
bracketing constructs open yet. It _might_ work in other situations, but
is likely to end up choosing the wrong end point if used in the middle
of a bracketed expression that itself contains newlines.
2017-05-30 18:42:45 -07:00
..
hclhil Update cty references to its new home in the zclconf github account 2017-05-27 17:35:44 -07:00
json Update cty references to its new home in the zclconf github account 2017-05-27 17:35:44 -07:00
zclsyntax zclsyntax: recoverAfterBodyItem implementation 2017-05-30 18:42:45 -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
eval_context.go Update cty references to its new home in the zclconf github account 2017-05-27 17:35:44 -07:00
merged_test.go Define Body.JustAttributes as returning Attributes 2017-05-21 15:43:41 -07:00
merged.go Define Body.JustAttributes as returning Attributes 2017-05-21 15:43:41 -07:00
pos.go
schema.go json: start of low-level decoding 2017-05-19 19:33:58 -07:00
structure.go Update cty references to its new home in the zclconf github account 2017-05-27 17:35:44 -07:00
traversal.go Update cty references to its new home in the zclconf github account 2017-05-27 17:35:44 -07:00