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. |
||
---|---|---|
.. | ||
hclhil | ||
json | ||
zclsyntax | ||
diagnostic_text_test.go | ||
diagnostic_text.go | ||
diagnostic.go | ||
doc.go | ||
eval_context.go | ||
merged_test.go | ||
merged.go | ||
pos.go | ||
schema.go | ||
structure.go | ||
traversal.go |