NewChild returns a new EvalContext that is a child of the receiver.
()
| 18 | |
| 19 | // NewChild returns a new EvalContext that is a child of the receiver. |
| 20 | func (ctx *EvalContext) NewChild() *EvalContext { |
| 21 | return &EvalContext{parent: ctx} |
| 22 | } |
| 23 | |
| 24 | // Parent returns the parent of the receiver, or nil if the receiver has |
| 25 | // no parent. |
no outgoing calls