2018-03-31 04:58:57 +02:00
|
|
|
package addrs
|
|
|
|
|
|
|
|
// Self is the address of the special object "self" that behaves as an alias
|
|
|
|
// for a containing object currently in scope.
|
|
|
|
const Self selfT = 0
|
|
|
|
|
|
|
|
type selfT int
|
|
|
|
|
|
|
|
func (s selfT) referenceableSigil() {
|
|
|
|
}
|
2018-04-04 03:03:47 +02:00
|
|
|
|
|
|
|
func (s selfT) String() string {
|
|
|
|
return "self"
|
|
|
|
}
|