hcl/zcl/zclsyntax
Martin Atkins bae8f83298 zclsyntax: Generate "Variables" implementations for all Expressions
The implementation of Variables will be identical for every Expression
implementation since we just wrap our AST-walk-based "Variables" function
to do the work.

Rather than manually copy-pasting the declaration for each expression
type, instead we'll generate this programmatically using "go generate".
This will need to be re-run each time a new expression node type is
added, in order to make it actually implement the Expression interface.
2017-05-24 08:50:44 -07:00
..
doc.go zclsyntax: Start to stub out the zclsyntax package 2017-05-23 08:05:44 -07:00
expression_vars_gen.go zclsyntax: Generate "Variables" implementations for all Expressions 2017-05-24 08:50:44 -07:00
expression_vars.go zclsyntax: Generate "Variables" implementations for all Expressions 2017-05-24 08:50:44 -07:00
expression.go zclsyntax: Generate "Variables" implementations for all Expressions 2017-05-24 08:50:44 -07:00
file.go zclsyntax: Start to stub out the zclsyntax package 2017-05-23 08:05:44 -07:00
generate.go zclsyntax: Generate "Variables" implementations for all Expressions 2017-05-24 08:50:44 -07:00
node.go zclsyntax: Start to stub out the zclsyntax package 2017-05-23 08:05:44 -07:00
structure.go zclsyntax: Structural AST nodes (blocks, bodies, etc) 2017-05-24 08:04:54 -07:00
variables.go zclsyntax: Expression.Variables implementation using AST walk 2017-05-24 08:05:52 -07:00
walk.go zclsyntax: Start to stub out the zclsyntax package 2017-05-23 08:05:44 -07:00