register(name, variable) {
    if (!this.vars[name]) {
      this.vars[name] = [];
    }
    this.vars[name].push(variable);
  }
Registers variables in block scope.

(All variables are first registered in function scope.)

@param  {String} name Variable name
@param  {Variable} variable Variable object