mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
12 lines
308 B
Go
12 lines
308 B
Go
package config
|
|
|
|
import (
|
|
"github.com/hashicorp/hil/ast"
|
|
)
|
|
|
|
type noopNode struct{}
|
|
|
|
func (n *noopNode) Accept(ast.Visitor) ast.Node { return n }
|
|
func (n *noopNode) Pos() ast.Pos { return ast.Pos{} }
|
|
func (n *noopNode) Type(ast.Scope) (ast.Type, error) { return ast.TypeString, nil }
|