mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-21 10:47:34 -05:00
This package provides a more generic version of what's currently modeled by the likes of lang.Scope and lang.Data, designed to avoid having a huge single type that must know about everything in the language and, for this package's purposes alone, to avoid knowing anything about the language at all except that it uses HCL. This is currently just an experiment not used by anything, and so is dead code aside from the contrived mini-language implemented in example_test.go. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
14 lines
579 B
Go
14 lines
579 B
Go
// Copyright (c) The OpenTofu Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
// Copyright (c) 2023 HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Package exprs contains supporting code for expression evaluation.
|
|
//
|
|
// This package is designed to know nothing about the referenceable symbol tree
|
|
// in any particular language, so that knowledge can be kept closer to the
|
|
// other code implementing the relevant language. This can therefore be shared
|
|
// across many different HCL-based languages, and across different evaluation
|
|
// phases of the same language.
|
|
package exprs
|