This adds support for namespaced HCL function calls. The PR includes updates to the HCL parser (hcl-edit), formatter (hcl-rs), evaluation context (hcl-rs), encoder (hcl-edit) and visitors (hcl-edit).
BREAKING CHANGE: The ident field of hcl_edit::expr::FuncCall was renamed to name. Its type changed from Decorated<Ident> to FuncName. The type of hcl::expr::FuncCall's name field changed from Identifier to FuncName. Various other places in the codebase that previously used bare identifiers as type now use FuncName to accommodate the change.
Closes https://github.com/martinohmann/hcl-rs/issues/335
This adds support for namespaced HCL function calls. The PR includes updates to the HCL parser (
hcl-edit
), formatter (hcl-rs
), evaluation context (hcl-rs
), encoder (hcl-edit
) and visitors (hcl-edit
).BREAKING CHANGE: The
ident
field ofhcl_edit::expr::FuncCall
was renamed toname
. Its type changed fromDecorated<Ident>
toFuncName
. The type ofhcl::expr::FuncCall
'sname
field changed fromIdentifier
toFuncName
. Various other places in the codebase that previously used bare identifiers as type now useFuncName
to accommodate the change.