hcl/ext/transform
Martin Atkins fffca3d205 ext/transform: helper package for applying transforms to bodies
This utility is intended to support the extension packages that are
siblings of this package, along with third-party extensions, by providing
a way to transform bodies in arbitrary ways.

The "Deep" function then provides a means to apply a particular transform
recursively to a nested block tree, allowing a particular extension to
be supported at arbitrary nesting levels.

This functionality is provided in terms of the standard zcl.Body
interface, so that transform results can be used with any code that
operates generically on bodies. This includes the zcldec and gozcl
packages, so files with extensions can still be decoded in the usual
way.
2017-07-27 16:23:20 -07:00
..
doc.go ext/transform: helper package for applying transforms to bodies 2017-07-27 16:23:20 -07:00
error.go ext/transform: helper package for applying transforms to bodies 2017-07-27 16:23:20 -07:00
transform_test.go ext/transform: helper package for applying transforms to bodies 2017-07-27 16:23:20 -07:00
transform.go ext/transform: helper package for applying transforms to bodies 2017-07-27 16:23:20 -07:00
transformer.go ext/transform: helper package for applying transforms to bodies 2017-07-27 16:23:20 -07:00