Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment.
()
| 729 | |
| 730 | // Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment. |
| 731 | func (e *Env) Functions() map[string]*decls.FunctionDecl { |
| 732 | return maps.Clone(e.functions) |
| 733 | } |
| 734 | |
| 735 | // Variables returns a shallow copy of the variables associated with the environment. |
| 736 | func (e *Env) Variables() []*decls.VariableDecl { |