config/lang; missed file

This commit is contained in:
Mitchell Hashimoto 2015-01-15 09:40:36 -08:00
parent a2e40ad731
commit 7f9abbb99c
1 changed files with 11 additions and 0 deletions

11
config/lang.go Normal file
View File

@ -0,0 +1,11 @@
package config
import (
"github.com/hashicorp/terraform/config/lang/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 }