hcl/zclwrite
Martin Atkins 476e2c127e zclwrite: convert zclsyntax tokens into zclwrite tokens
In zclwrite we throw away the absolute source position information and
instead just retain the number of spaces before each token. This different
model allows us to rewrite parts of the token sequence without needing
to re-adjust all of the positions, and it also allows us to do simple
indentation and spacing adjustments just by walking through the token
list and adjusting these numbers.
2017-05-29 16:59:20 -07:00
..
ast.go zclwrite: stub of zcl code generation package 2017-05-29 16:05:34 -07:00
doc.go zclwrite: stub of zcl code generation package 2017-05-29 16:05:34 -07:00
parser_test.go zclwrite: convert zclsyntax tokens into zclwrite tokens 2017-05-29 16:59:20 -07:00
parser.go zclwrite: convert zclsyntax tokens into zclwrite tokens 2017-05-29 16:59:20 -07:00
tokens.go zclwrite: convert zclsyntax tokens into zclwrite tokens 2017-05-29 16:59:20 -07:00