(ast ast.Node)
| 231 | } |
| 232 | |
| 233 | func (s *callStack) getCurrentEnv(ast ast.Node) environment { |
| 234 | return makeEnvironment( |
| 235 | s.capture(ast.FreeVariables()), |
| 236 | s.getSelfBinding(), |
| 237 | ) |
| 238 | } |
| 239 | |
| 240 | // Build a binding frame containing specified variables. |
| 241 | func (s *callStack) capture(freeVars ast.Identifiers) bindingFrame { |
no test coverage detected