blob: 9de5e134d1b17f812d141a8be94dcf94dcbf9233 [file] [log] [blame]
package addrs
// PathAttr is the address of an attribute of the "path" object in
// the interpolation scope, like "path.module".
type PathAttr struct {
referenceable
Name string
}
func (pa PathAttr) String() string {
return "path." + pa.Name
}
func (pa PathAttr) UniqueKey() UniqueKey {
return pa // A PathAttr is its own UniqueKey
}
func (pa PathAttr) uniqueKeySigil() {}