github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/config/lang.go (about)

     1  package config
     2  
     3  import (
     4  	"github.com/hashicorp/hil/ast"
     5  )
     6  
     7  type noopNode struct{}
     8  
     9  func (n *noopNode) Accept(ast.Visitor) ast.Node      { return n }
    10  func (n *noopNode) Pos() ast.Pos                     { return ast.Pos{} }
    11  func (n *noopNode) Type(ast.Scope) (ast.Type, error) { return ast.TypeString, nil }