From 7f9abbb99cdd022c23a8d5a9600dcc6e64f62604 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 15 Jan 2015 09:40:36 -0800 Subject: [PATCH] config/lang; missed file --- config/lang.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/lang.go diff --git a/config/lang.go b/config/lang.go new file mode 100644 index 000000000..7b960ead3 --- /dev/null +++ b/config/lang.go @@ -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 }