opentofu/config/lang.go

12 lines
308 B
Go
Raw Normal View History

2015-01-15 11:40:36 -06:00
package config
import (
2016-01-31 01:38:37 -06:00
"github.com/hashicorp/hil/ast"
2015-01-15 11:40:36 -06:00
)
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 }