1. 20 Aug, 2018 1 commit
  2. 02 Aug, 2018 1 commit
  3. 01 Aug, 2018 3 commits
  4. 11 Dec, 2017 1 commit
  5. 02 Oct, 2017 1 commit
    • Mathias Bynens's avatar
      [parser] Add use counter for U+2028 & U+2029 · d3c98121
      Mathias Bynens authored
      The context is the following proposal to make JSON a subset of
      JavaScript: https://github.com/tc39/proposal-json-superset
      
      There’s interest in performing a side investigation to answer the
      question of what would happen if we stopped treating U+2028 and U+2029
      as `LineTerminator`s *entirely*. (Note that this is separate from the
      proposal, which just changes how these characters are handled in
      ECMAScript strings.) This is technically a breaking change, and IMHO it
      would be wonderful if we could get away with it, but no one really has
      any data on whether or not we could. Adding this use counter lets us get
      that data.
      
      BUG=v8:6827
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: Ia22e8db1634df4d3f965bec8e1cfa11cc7b5e9aa
      Reviewed-on: https://chromium-review.googlesource.com/693155
      Commit-Queue: Mathias Bynens <mathias@chromium.org>
      Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48260}
      d3c98121
  6. 14 Aug, 2017 1 commit
  7. 04 May, 2017 1 commit
  8. 28 Mar, 2017 1 commit
    • Daniel Vogelheim's avatar
      [parser] Introduce 'contextual keyword tokens'. · ae1e8759
      Daniel Vogelheim authored
      Introduce 'contextual keyword' tokens, which are parsed as identifiers but
      in some contexts are treated by the parser like proper keywords. These are
      usually keywords introduced by recent ECMAScript versions, which for reasons
      of backwards compatibility are still permissible as regular identifiers in
      most contexts.
      
      Current usage is to check for Token::IDENTIFIER and then do a string
      compare. With this change the initial scan will scan them as usual, but
      will then record the token as IDENTIFIER plus a secondary token with the
      'contextual' value.
      
      BUG=v8:6902
      
      Change-Id: I6ae390382998cf756a23720bd481cb9c0eb78a72
      Reviewed-on: https://chromium-review.googlesource.com/459479
      Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
      Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44189}
      ae1e8759
  9. 09 Jan, 2017 1 commit
  10. 24 Nov, 2016 1 commit
  11. 04 Nov, 2016 1 commit
  12. 23 Sep, 2016 1 commit
  13. 21 Sep, 2016 1 commit
  14. 20 Sep, 2016 1 commit
    • vogelheim's avatar
      Simplify Scanner bookmarking. · 05a00a93
      vogelheim authored
      - Eliminates *all* copies in the process.
      - Moves (nearly) all functionality into Scanner::BookmarkScope.
      - Significant code reduction.
      
      [Needs to be rebased once crrev.com/2347883002 lands. All changes in *parser* are from that CL.]
      
      R=marja@chromium.org
      BUG=v8:4947
      
      Review-Url: https://codereview.chromium.org/2341323002
      Cr-Commit-Position: refs/heads/master@{#39554}
      05a00a93
  15. 19 Sep, 2016 1 commit