code: function(rec, key) {
          return (function() {
              if (typeof key === "symbol") {
                return undefined;
              }
              if (key === scopeName) {
                return scope;
              }
              if (key === indicator) {
                return proxy;
              }
              if (key.slice(-1) === indicator) {
                builder.pushSingleToken(key.slice(0,key.length-1));
                var classproxy = makeProxy({
                  get: function(rec, key) {
                    if (typeof key === "symbol") {
                      return undefined;
                    }
                    builder.addClass(key);
                    return classproxy;
                  }
                },
                function(obj) {
                  builder.rewriteSingleTokenAttributes(obj);
                  return classproxy;
                });
                return classproxy;
              } else if (key.slice(0,1) === indicator) {
                builder.pushEndToken(key.slice(1));
                return {
                  valueOf: function() {
                    if (shortcuts.hasOwnProperty(key)) {
                      var args = builder.dropLastToken();
  
                      shortcuts[key](builder, scope, args);
                    } else {
                      throw new Error('Attempted to call nonexistant shortcut');
                    }
                    return 0;
                  }
                }
              }  else {
                builder.pushStartToken(key);
                var classproxy = makeProxy({
                  get: function(rec, nkey) {
                    if (typeof nkey === "symbol") {
                      return undefined;
                    }
                    if (nkey === 'valueOf') {
                      if (shortcuts.hasOwnProperty(key)) {
                        var args = builder.dropLastToken();
  
                        shortcuts[key](builder, scope, args);
                      } else {
                        throw new Error('Attempted to call nonexistant shortcut');
                      }
                      return function() {return 0};
                    }
                    builder.addClass(nkey);
                    return classproxy;
                  }
                },
                function(obj) {
                  builder.rewriteStartTokenAttributes(obj);
                  return classproxy;
                });
                return classproxy;
              }
            })();
        }
docs: New version of the has-all-the-things trap