PopScope removes the current scope.
()
| 222 | |
| 223 | // PopScope removes the current scope. |
| 224 | func (is *InterpreterStack) PopScope() { |
| 225 | is.stack.Pop() |
| 226 | } |
| 227 | |
| 228 | // SetVariable sets the first variable found, with a matching name, to the value given. This does not ensure that the |
| 229 | // value matches the expectations of the type, so it should be validated before this is called. Returns an error if the |
no test coverage detected