terraform/config/lang/ast/concat.go

16 lines
282 B
Go
Raw Normal View History

2015-01-11 21:38:45 +01:00
package ast
import (
"fmt"
)
2015-01-11 21:38:45 +01:00
// Concat represents a node where the result of two or more expressions are
// concatenated. The result of all expressions must be a string.
type Concat struct {
Exprs []Node
}
func (n *Concat) GoString() string {
return fmt.Sprintf("*%#v", *n)
}