Variables returns a shallow copy of the variables associated with the environment.
()
| 669 | |
| 670 | // Variables returns a shallow copy of the variables associated with the environment. |
| 671 | func (e *Env) Variables() []*decls.VariableDecl { |
| 672 | return slices.Clone(e.variables) |
| 673 | } |
| 674 | |
| 675 | // Macros returns a shallow copy of macros associated with the environment. |
| 676 | func (e *Env) Macros() []Macro { |