terraform/lang
Martin Atkins a16ca2ec53 lang: new package for the runtime parts of the config language
Whereas package "configs" deals with the static structure of the
configuration language, this new package "lang" deals with the dynamic
aspects such as expression evaluation.

So far this mainly consists of populating a hcl.EvalContext that contains
the values necessary to evaluate a block or an expression. There is also
special handling here for dynamic block generation using the HCL
"dynblock" extension, which is exposed in the public interface (rather
than hiding it as an implementation detail of EvalBlock) so that the
caller can then extract proper source locations for any result values
using the expanded body.

This also includes the beginnings of a replacement for the function table
handling that currently lives in the old "config" package, but most of
the functions are not yet ported and so this will expand in subsequent
commits.
2018-10-16 18:44:26 -07:00
..
data.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
data_test.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
doc.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
eval.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
eval_test.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
functions.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
references.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
scope.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00