hcl/hclwrite
Martin Atkins c8c208e083 hclwrite: Body.SetAttributeValue
For now, this is the only way to set an attribute, and so attributes can
only be set to literal values.

Later this will be generalized so that this is just a helper wrapper
around a "SetAttribute" method that just uses a given expression, which
then helps by constructing the expression from the value first.
2018-08-09 08:44:48 -07:00
..
ast_body_test.go hclwrite: Body.SetAttributeValue 2018-08-09 08:44:48 -07:00
ast_body.go hclwrite: Body.SetAttributeValue 2018-08-09 08:44:48 -07:00
ast_expression.go hclwrite: Body.SetAttributeValue 2018-08-09 08:44:48 -07:00
ast_test.go hclwrite: Simplify internal data structures 2018-08-01 08:46:31 -07:00
ast.go hclwrite: Simplify internal data structures 2018-08-01 08:46:31 -07:00
doc.go Update doc comments and readmes for zcl -> HCL. 2017-09-11 16:56:31 -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: Body.SetAttributeValue 2018-08-09 08:44:48 -07:00
public.go hclwrite: Simplify internal data structures 2018-08-01 08:46:31 -07:00
round_trip_test.go hclwrite: Simplify internal data structures 2018-08-01 08:46:31 -07:00
tokens.go hclwrite: Body.SetAttributeValue 2018-08-09 08:44:48 -07:00