code: function expect(value) {
          var token = lex();
          if (token.type !== Token.Punctuator || token.value !== value) {
              throwUnexpected(token);
          }
      }
docs: Expect the next token to match the specified punctuator. If not, an exception will be thrown.