Alias is similar to Value.Alias.
(name string)
| 80 | |
| 81 | // Alias is similar to Value.Alias. |
| 82 | func (n *Number) Alias(name string) *Number { |
| 83 | opChain := n.chain.enter("Alias(%q)", name) |
| 84 | defer opChain.leave() |
| 85 | |
| 86 | n.chain.setAlias(name) |
| 87 | return n |
| 88 | } |
| 89 | |
| 90 | // Path is similar to Value.Path. |
| 91 | func (n *Number) Path(path string) *Value { |