hcl/zcl/json
Martin Atkins 2cfc08c632 json: Allow strings to be treated as HIL templates
Eventually zcl will have its own native template format that we'll use
by default, but for applications migrating from HCL/HIL we can instead
parse strings as HIL templates, for compatibility with how JSON configs
would've been processed in a HCL/HIL app.

When this mode is not enabled, we still just treat strings as literals,
pending the implementation of the zcl template parser.
2017-05-21 22:34:23 -07:00
..
ast.go Body.MissingItemRange method 2017-05-21 11:46:58 -07:00
didyoumean_test.go json: parsing of keywords 2017-05-16 06:51:19 -07:00
didyoumean.go json: Generalize "keywordSuggestion" for general name suggestions 2017-05-20 09:45:15 -07:00
doc.go json: initial scanner implementation 2017-05-15 07:02:13 -07:00
navigation_test.go json: ContextString implementation 2017-05-19 19:33:58 -07:00
navigation.go json: ContextString implementation 2017-05-19 19:33:58 -07:00
parser_test.go Body.MissingItemRange method 2017-05-21 11:46:58 -07:00
parser.go Body.MissingItemRange method 2017-05-21 11:46:58 -07:00
peeker.go json: fix buggy peeker.Read 2017-05-16 06:51:19 -07:00
public_test.go json: Allow strings to be treated as HIL templates 2017-05-21 22:34:23 -07:00
public.go json: Allow strings to be treated as HIL templates 2017-05-21 22:34:23 -07:00
scanner_test.go json: fix overly-greedy keyword scanning 2017-05-16 07:23:33 -07:00
scanner.go json: recovery behavior for the parser 2017-05-20 13:32:12 -07:00
structure_test.go Define Body.JustAttributes as returning Attributes 2017-05-21 15:43:41 -07:00
structure.go json: Allow strings to be treated as HIL templates 2017-05-21 22:34:23 -07:00
tokentype_string.go json: Generate EOF tokens marking the end of scanning 2017-05-15 07:15:53 -07:00