diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/addrs/self.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/addrs/self.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/addrs/self.go b/vendor/github.com/hashicorp/terraform/addrs/self.go new file mode 100644 index 0000000..7f24eaf --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/addrs/self.go | |||
@@ -0,0 +1,14 @@ | |||
1 | package addrs | ||
2 | |||
3 | // Self is the address of the special object "self" that behaves as an alias | ||
4 | // for a containing object currently in scope. | ||
5 | const Self selfT = 0 | ||
6 | |||
7 | type selfT int | ||
8 | |||
9 | func (s selfT) referenceableSigil() { | ||
10 | } | ||
11 | |||
12 | func (s selfT) String() string { | ||
13 | return "self" | ||
14 | } | ||