Skip to content

Commit

Permalink
config/lang; missed file
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Jan 15, 2015
1 parent a2e40ad commit 7f9abbb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/lang.go
Original file line number Diff line number Diff line change
@@ -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 }

0 comments on commit 7f9abbb

Please sign in to comment.