summaryrefslogtreecommitdiff
path: root/vendor/github.com/hashicorp/terraform/config/lang.go
blob: 890d30beb934f527a65f738b5035cdc04b67012b (plain)
1
2
3
4
5
6
7
8
9
10
11
package config

import (
	"github.com/hashicorp/hil/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 }