PushScope creates a new scope.
()
| 215 | |
| 216 | // PushScope creates a new scope. |
| 217 | func (is *InterpreterStack) PushScope() { |
| 218 | is.stack.Push(&InterpreterScopeDetails{ |
| 219 | variables: make(map[string]*interpreterVariable), |
| 220 | }) |
| 221 | } |
| 222 | |
| 223 | // PopScope removes the current scope. |
| 224 | func (is *InterpreterStack) PopScope() { |
no test coverage detected