popScope method

void popScope()

Pops scope and restores current to the previous scope Scope.parent;

Implementation

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