pop method

void pop()

Remove the current scope and remove it from the stack

Implementation

void pop() {
  final parent = current.parent;
  if (parent != null) {
    current = parent;
  }
}