terraform/config/lang/ast/ast.go

15 lines
233 B
Go
Raw Normal View History

2015-01-11 21:38:45 +01:00
package ast
// Node is the interface that all AST nodes must implement.
type Node interface{}
//go:generate stringer -type=Type
2015-01-11 21:38:45 +01:00
// Type is the type of a literal.
type Type uint
const (
TypeInvalid Type = 1 << iota
TypeString
)