code: function (token) {
          var primary = token.peek();
          if (!primary.match(/^(?:null|undefined|boolean|number|string|function|object)$/))
              throw _cs.exception("validate", "parse error: invalid primary type \"" + primary + "\"");
          token.skip();
          return { type: "primary", name: primary };
      }
docs: /*  parse primary type specification