hcl/zcl
Martin Atkins 2c90adb9e1 zclsyntax: track whether parser is in recovery mode
The parser has some recovery heuristics but they will not always achieve
the best result. To prevent unsuccessful recovery from causing a cascade
of confusing follow-on errors, we'll track in the parser whether recovery
has been attempted and then the specific sub-parsers can use this to
skip certain "unexpected token type" errors in recovery situations,
assuming instead that an earlier error will cover the problem and that
we just want to bail out quickly.
2017-05-30 07:51:55 -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: track whether parser is in recovery mode 2017-05-30 07:51:55 -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
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 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 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