opentofu/internal/lang/exprs
Martin Atkins 50b49d98c1 lang/exprs: FlatScopeForTesting
For unit tests of components that don't depend on any particular symbol
table structure, where we just want to test if they are using the provided
scope _at all_, it's helpful to be able to just quickly create a static
symbol table.

This is a reusable helper function for that.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2026-03-16 10:58:40 -07:00
..
attribute.go lang/eval: Rework how module calls work 2025-10-27 10:15:41 -07:00
closure.go lang/eval+lang/exprs: More exprs.EvalError markings 2025-10-27 10:15:41 -07:00
doc.go lang/exprs: Expression evaluation helpers 2025-10-27 10:15:41 -07:00
evalable.go lang/exprs: Implement FunctionCalls for "just attributes" bodies 2026-03-02 07:03:53 -08:00
evaluate.go lang/eval+lang/exprs: More exprs.EvalError markings 2025-10-27 10:15:41 -07:00
example_test.go lang/eval: Beginnings of a different way to handle config eval 2025-10-27 10:15:41 -07:00
marks.go configgraph: Some unit tests for some "Value" methods 2025-10-27 10:15:41 -07:00
scope.go lang/exprs: FlatScopeForTesting 2026-03-16 10:58:40 -07:00
symbol_table.go lang/exprs: Expression evaluation helpers 2025-10-27 10:15:41 -07:00
traversals.go lang/eval: Beginnings of a different way to handle config eval 2025-10-27 10:15:41 -07:00
valuer.go lang/eval: Start of supporting module calls 2025-10-27 10:15:41 -07:00