terraform/config/lang.go

12 lines
326 B
Go
Raw Normal View History

2015-01-15 18:40:36 +01:00
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 }