hcl/hclwrite
Martin Atkins 17ff23300f hclwrite: NewEmptyFile function
This completes the minimal functionality for creating a new file from
scratch, rather than modifying an existing one. This is illustrated by
a new test TestRoundupCreate that uses the API to create a new file in a
similar way to how a calling application might.
2018-11-03 20:45:25 +00:00
..
ast_attribute.go hclwrite: Split Attribute and Block into their own source files 2018-11-03 09:21:43 -07:00
ast_block.go hclwrite: Body.AppendBlock 2018-11-03 09:21:43 -07:00
ast_body_test.go hclwrite: Rename Body.AppendBlock to AppendNewBlock 2018-11-03 19:54:56 +00:00
ast_body.go hclwrite: Rename Body.AppendBlock to AppendNewBlock 2018-11-03 19:54:56 +00:00
ast_expression.go hclwrite: Fix NewExpressionAbsTraversal signature 2018-08-09 08:47:37 -07:00
ast_test.go hclwrite: Simplify internal data structures 2018-08-01 08:46:31 -07:00
ast.go hclwrite: NewEmptyFile function 2018-11-03 20:45:25 +00:00
doc.go hclwrite: Split Attribute and Block into their own source files 2018-11-03 09:21:43 -07:00
format_test.go hclwrite: Format shouldn't introduce spaces before index brackets 2018-05-23 16:56:29 -07:00
format.go hclwrite: Formatter should put a space after a comma 2018-07-14 15:05:37 -07:00
generate_test.go hclwrite: TokensForValue 2018-07-14 15:05:37 -07:00
generate.go hclwrite: TokensForValue 2018-07-14 15:05:37 -07:00
native_node_sorter.go Move the zcl package and its two parsing subpackages to "hcl" names 2017-09-11 16:40:37 -07:00
node.go hclwrite: Body.SetAttributeValue 2018-08-09 08:44:48 -07:00
parser_test.go hclwrite: Simplify internal data structures 2018-08-01 08:46:31 -07:00
parser.go hclwrite: Adjust token spacing automatically when writing 2018-08-25 12:15:40 -07:00
public.go hclwrite: Adjust token spacing automatically when writing 2018-08-25 12:15:40 -07:00
round_trip_test.go hclwrite: Make File and Tokens implement io.WriterTo 2018-11-03 20:19:56 +00:00
roundup_test.go hclwrite: NewEmptyFile function 2018-11-03 20:45:25 +00:00
tokens.go hclwrite: Make File and Tokens implement io.WriterTo 2018-11-03 20:19:56 +00:00