docs: function(name) {
                  var p = this.parent;
                  var val = this.variables[name];
                  if (val != null) {
                      return this;
                  }
                  return p && p.resolve(name);
              }