2018-03-31 04:58:57 +02:00
|
|
|
package addrs
|
|
|
|
|
|
|
|
// CountAttr is the address of an attribute of the "count" object in
|
|
|
|
// the interpolation scope, like "count.index".
|
|
|
|
type CountAttr struct {
|
|
|
|
referenceable
|
|
|
|
Name string
|
|
|
|
}
|
2018-04-04 03:03:47 +02:00
|
|
|
|
|
|
|
func (ca CountAttr) String() string {
|
|
|
|
return "count." + ca.Name
|
|
|
|
}
|