js/src/frontend/Parser.h
be97b8687b6a0faf23743f7d8ce44c8cd4c08050
created 2016-08-28 20:42 +0900
pushed 2016-10-31 15:58 +0000
Mariusz Kierski Mariusz Kierski - Bug 1185106 - Part 2: Add FunctionAsyncKind parameter to Parser methods that receives GeneratorKind. r=efaust,till
9a91fa1603c46e8ddeef15acc45887d74f39be21
created 2016-08-28 20:42 +0900
pushed 2016-10-31 15:58 +0000
Mariusz Kierski Mariusz Kierski - Bug 1185106 - Part 1: Add AsyncFunction flag in FunctionBox, JSScript, and LazyScript. r=efaust,till
a42b25de7402045bae882cd522f8491f5a4d711d
created 2016-10-24 11:28 -0700
pushed 2016-10-26 05:13 +0000
André Bargull André Bargull - Bug 1272784 - Part 2: Don't reparse functions with 'use strict' directives. r=arai
2821a9fdfd258ef73a74608ec4056c186e68b170
created 2016-10-18 17:27 -0700
pushed 2016-10-20 01:36 +0000
André Bargull André Bargull - Bug 1041341 - Part 1: Add support to store a pending destructuring error in PossibleError. r=arai, r=Waldo
70c98b5e580efc270e3595a897bc5d2a26a429a8
created 2016-10-10 13:13 -0700
pushed 2016-10-19 02:58 +0000
André Bargull André Bargull - Bug 1243717 - Part 1: Allow destructuring for rest parameter (ES2016). r=arai
04339bee7352c27a85b8015b4467671b784c3b02
created 2016-10-12 12:36 -0700
pushed 2016-10-13 09:59 +0000
André Bargull André Bargull - Bug 1204024 - Part 4: Delay error reporting for pending errors until the destructuring pattern is completely parsed. r=arai
5ebb036c18eabcbd3ed1fb111fce04be40a7b647
created 2016-10-10 10:44 -0700
pushed 2016-10-13 09:59 +0000
André Bargull André Bargull - Bug 1204024 - Part 3: Move destructuring error checking for PossibleError to checkDestructuringPattern. r=arai
c13851000ef00ec4e661283ce64b3c2cea762d2d
created 2016-10-12 12:35 -0700
pushed 2016-10-13 09:59 +0000
André Bargull André Bargull - Bug 1204024 - Part 2: Restrict PossibleError to non-recoverable errors, because it's not possible to recover from a pending error. r=arai
fe1135c6ee9dc0c0d4c04e8b68da920aa10b29c0
created 2016-10-10 10:43 -0700
pushed 2016-10-13 09:59 +0000
André Bargull André Bargull - Bug 1204024 - Part 1: Set possibleError to nullptr in expression-only contexts. r=arai
cdac94ae694ffaaaa92f9f131157ec0a00920462
created 2016-10-06 21:55 -0700
pushed 2016-10-08 03:06 +0000
André Bargull André Bargull - Bug 1305566 - Part 9: Remove unused/dead code in Parser.{h,cpp}. r=arai
aaf34bc07b55b600c64e5527899524cf444658b1
created 2016-10-06 21:55 -0700
pushed 2016-10-08 03:06 +0000
André Bargull André Bargull - Bug 1305566 - Part 6: Pass correct yieldHandling to function parameters parser to handle yield in arrow parameters. r=arai
3deb3fe0e16c899576273a2543ab67e9bce583ee
created 2016-10-06 21:54 -0700
pushed 2016-10-08 03:06 +0000
André Bargull André Bargull - Bug 1305566 - Part 5: Allow yield in object destructuring shorthand and CoverInitName. r=arai
48a62f57b3cbff3ef3f0c833ee54c479d38df146
created 2016-10-06 21:54 -0700
pushed 2016-10-08 03:06 +0000
André Bargull André Bargull - Bug 1305566 - Part 2: Handle CoverInitName for assignment destructuring in for-in/of loop head. r=arai
ab08affc3ca6d7d6ea6175f5f4560a5ff6ff1c1e
created 2016-10-03 17:48 -0700
pushed 2016-10-04 10:02 +0000
Shu-yu Guo Shu-yu Guo - Bug 1298809 - Fix skipping lazy function expression bodies to account for semicolon. (r=Waldo)
c978746cc2cbb2a2c662e854095686ba2105ba5a
created 2016-08-30 09:37 -0700
pushed 2016-09-13 10:28 +0000
Jeff Walden Jeff Walden - Bug 1288460 - Parse names in a ton of places using Parser::* functions directly named after spec productions rather than open-coding them. This centralizes many of the static-semantics rules checks in a very few places. r=arai
947563d9be7980bd602c5270fa4a98764461f0ed
created 2016-09-04 12:07 -0700
pushed 2016-09-07 15:25 +0000
Jeff Walden Jeff Walden - Bug 609756 - {Pre,Post}{in,de}crements on function calls must ToNumber after evaluating the call, in case ToNumber's effects are observable via toString/valueOf. r=arai
701075b5e63c16a45fa0b9bbac8001e88ff98454
created 2016-09-02 15:30 -0700
pushed 2016-09-03 15:45 +0000
Shu-yu Guo Shu-yu Guo - Bug 1298640 - Track top-level functions in eval/global bodies for all-or-nothing redeclaration checks. (r=Waldo)
4ab9576d4c6280d6f7dbbc75ea100d133ace1aad
created 2016-09-02 04:16 +0900
pushed 2016-09-02 20:36 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1293205 - Part 1: Warn about non-standard for-each regardless of JS version number. r=evilpie
1c0212f61c24c34ca79c9756f44ec9746d038305
created 2016-08-31 14:56 -0700
pushed 2016-09-01 02:38 +0000
Shu-yu Guo Shu-yu Guo - Bug 1175174 - Fix redeclaring catch parameters in eval. (r=Waldo)
daceebf38886f651670abe575ed70ae0673baec5
created 2016-08-31 14:56 -0700
pushed 2016-09-01 02:38 +0000
Shu-yu Guo Shu-yu Guo - Bug 1298316 - Don't apply Annex B.3.3 semantics to generators. (r=Waldo)
d1194f91ff50d7200e5479272afb215bcb90a05f
created 2016-08-31 14:56 -0700
pushed 2016-09-01 02:38 +0000
Shu-yu Guo Shu-yu Guo - Bug 1298640 - Always give catch bodies their own lexical scope. (r=Waldo)
5bd3461f216a1dab02e74e05fac87b02805dc6ae
created 2016-08-25 14:11 -0700
pushed 2016-08-30 00:56 +0000
Jeff Walden Jeff Walden - Bug 1288459 - Make Parser::statement and Parser::statementListItem behave exactly as the spec productions do. Particularly: function/lexical declarations are disallowed as Statements, "let" isn't a valid label in strict mode code, and "yield" is sometimes a permissible identifier in |let| declarations. Also add various tests. r=arai
7ed54ff909efb178bd1b0a17aad2607fa5196371
created 2016-08-24 21:45 -0700
pushed 2016-08-30 00:56 +0000
Jeff Walden Jeff Walden - Bug 1288459 - Copy Parser::statement into an identical (but not-yet-called) Parser::statementListItem. r=arai
660db63ca25ed2bb1b96572b084f42b63ace72cb
created 2016-08-27 00:41 -0700
pushed 2016-08-30 00:56 +0000
Jeff Walden Jeff Walden - Bug 1288459 - Make the statement-like children of an |if(-else)| properly understand FunctionStatement. r=arai
3fc25ab8420bdcab43fca0a6b9dee38ec2b3f2c6
created 2016-08-24 21:53 -0700
pushed 2016-08-30 00:56 +0000
Jeff Walden Jeff Walden - Bug 1288459 - Make Parser::labeledStatement use a new Parser::labeledItem function to parse its nested statement, anticipating when Parser::statement no longer parses FunctionDeclarations. r=arai
c1875e8356bcb23b5ba06a80be4dbe4db9178cf3
created 2016-08-24 17:28 -0700
pushed 2016-08-30 00:56 +0000
Jeff Walden Jeff Walden - Bug 1288459 - Split variable-statement parsing into its own parser function. r=arai
cbd3ac4f2793311dec26b512e3745836e89edadf
created 2016-08-24 16:57 -0700
pushed 2016-08-30 00:56 +0000
Jeff Walden Jeff Walden - Bug 1288459 - Rename Parser::statements to Parser::statementList, the actual grammar term. r=arai
cb6fc6d38f8df50e25502dc55ee1ed2dd3d7a304
created 2016-08-25 01:28 -0700
pushed 2016-08-26 00:16 +0000
Shu-yu Guo Shu-yu Guo - Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo)
94cb0c8e7febc61770904fca83ae56c86e5ee43b
created 2016-06-28 17:09 +0100
pushed 2016-06-29 14:22 +0000
Jeff Walden Jeff Walden - Bug 1282795 - Make frontend::Parser final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<Parser>. r=froydnj
e457582d0089f8efa6b89f112298373aa50e6e5f
created 2016-05-05 15:14 +1000
pushed 2016-05-10 10:16 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1267551 (part 7) - Use MOZ_MUST_USE more in js/src/frontend/. r=jorendorff.
bd6a8e6f170fbd1028f0231f7c651644915159a7
created 2016-05-05 14:13 +1000
pushed 2016-05-10 10:16 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1267551 (part 6) - Remove dead GenerateBlockId declaration. r=jorendorff.
310418e4db4bf6c4a673426ff2bde709805948b4
created 2016-04-13 13:43 +0200
pushed 2016-04-27 11:57 +0000
Tom Schuster Tom Schuster - Bug 1255925 - Give a name to getters/setters and integer-named methods. r=efaust
10f66b3164570b2183333262fa91a16004cbb908
created 2016-04-14 16:20 +0200
pushed 2016-04-15 12:01 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - Backed out changeset 0a5cf306560d (bug 1255925) on request from evilpie
0a5cf306560d9eebb30ccbc04d2f14e1d2c1cca1
created 2016-04-13 13:43 +0200
pushed 2016-04-13 22:02 +0000
Tom Schuster Tom Schuster - Bug 1255925 - Give a name to getters/setters and integer-named methods. r=efaust
73f748c3b24b2accfc9b0059080632cb4eb51a88
created 2016-03-09 01:57 -0800
pushed 2016-03-11 15:58 +0000
Morgan Phillips Morgan Phillips - Bug 1254335 - Remove invalid assertion; r=jorendorff
bbab21ac3b8cce6a8748fad28c9b4d42e156216d
created 2016-03-05 12:51 -0800
pushed 2016-03-06 20:04 +0000
Morgan Phillips Morgan Phillips - Bug 932080 - Support default values in destructuring; r=jorendorff
966f47ed2f25eb54fb1f967d4443b3c2b8b63220
created 2016-02-12 04:11 -0800
pushed 2016-02-14 03:26 +0000
Joel Maher Joel Maher - backout Bug 1221144 for perf regression
9aab45404d978166454c8085805b34769d99fb2c
created 2016-02-05 14:55 -0800
pushed 2016-02-07 03:17 +0000
Shu-yu Guo Shu-yu Guo - Bug 1225041 - Implement ES6 Annex B.3.5. (r=jorendorff)
0579589f4afc564e23c274af7750cd10c724c342
created 2015-11-12 15:42 -0600
pushed 2016-02-04 11:08 +0000
Jason Orendorff Jason Orendorff - Bug 1221144 - Part 14: Handlify scope arguments to methods around FunctionBox creation. r=shu.
7a9f939bf24daa47024d471dd29c7a9572754f1a
created 2015-11-09 17:08 -0600
pushed 2016-02-04 11:08 +0000
Jason Orendorff Jason Orendorff - Bug 1221144 - Part 8: Change C++ type of static scopes everywhere from JSObject* to StaticScope*. r=shu.
50c0af0c258ac591ec17b7a1d5f0b7382ca58a82
created 2015-11-12 14:35 -0600
pushed 2016-01-24 02:23 +0000
Jason Orendorff Jason Orendorff - Bug 1221144 - Part 3: Rename variables, arguments, and fields that point to static scopes away from names that indicate objects, like "scopeObj" and "blockObj". r=shu.
5e46f927faa732231a8d0f2addf6b91df789a412
created 2015-10-30 10:43 -0500
pushed 2016-01-24 02:23 +0000
Jason Orendorff Jason Orendorff - Bug 1221144 - Part 2: Rename static scope classes away from "ScopeObject". r=shu.
2b37862c36f1497fc15ad6c65067fabea1cf136c
created 2015-10-30 10:26 -0500
pushed 2016-01-24 02:23 +0000
Jason Orendorff Jason Orendorff - Bug 1221144 - Part 1: Make static scope objects a separate class hierarchy from the runtime ScopeObjects. r=shu.
08f99465a9ccf5bcba5e34b9dabe4e349134e492
created 2015-12-28 11:45 -0800
pushed 2016-01-12 10:57 +0000
Terrence Cole Terrence Cole - Bug 1238711 - Rename TraceableVector to GCVector; r=sfink
d3f7a477db20d3a3491fe7118c28ffadb95f64bb
created 2016-01-06 16:02 -0800
pushed 2016-01-07 11:22 +0000
Shu-yu Guo Shu-yu Guo - Bug 1220564 - Remove legacy array comprehensions. (r=Waldo)
ee34d6a0db79d1c515eff54a44bd43862bdc953f
created 2016-01-06 16:02 -0800
pushed 2016-01-07 11:22 +0000
Shu-yu Guo Shu-yu Guo - Bug 1220564 - Remove legacy generator comprehensions. (r=Waldo)
3bb17cb935f2404e666165e41f23c4ecd2a0b7f4
created 2016-01-05 15:07 +0000
pushed 2016-01-06 00:54 +0000
Jon Coppeard Jon Coppeard - Bug 1233109 - Alias fewer bindings at module toplevel r=shu
95ad4f2242ef711747a74b51d62dfa8e1eeb317e
created 2016-01-05 15:07 +0000
pushed 2016-01-06 00:54 +0000
Jon Coppeard Jon Coppeard - Bug 1233109 - Check for duplicate exported names using the data in the ModuleBuilder and remove ModuleBox::exportNames r=shu
c7013426d29247778166ed6b1e27fa1977460db3
created 2016-01-05 15:07 +0000
pushed 2016-01-06 00:54 +0000
Jon Coppeard Jon Coppeard - Bug 1233109 - Call into the ModuleBuilder as we parse rather than traversing the AST again afterwards r=shu
7a605806d9f0a102f0958760151baa1d1c5e6e03
created 2016-01-05 15:07 +0000
pushed 2016-01-06 00:54 +0000
Jon Coppeard Jon Coppeard - Bug 1233109 - Refactor module parsing to instantiate ModuleBuilder earlier r=shu
8b834fb9e739919869a843d7eae604e8f3ce42b6
created 2015-12-18 02:24 -0500
pushed 2015-12-29 11:39 +0000
Jeff Walden Jeff Walden - Bug 1233249 - Refactor for-loop head parsing so that declaration-parsing code is responsible for detecting for-in/of behavior when a loop declaration is used. This makes declaration parsing slightly fuglier, but it simplifies for-loop parsing, makes it more amenable to future changes, and fixes a few bugs that were otherwise pretty hard to fix. r=shu
204aeab8d5f8d21f1ebf0d62776b27bed9476290
created 2015-12-18 13:18 -0800
pushed 2015-12-21 11:00 +0000
Shu-yu Guo Shu-yu Guo - Bug 1071646 - Support labelled function declarations in sloppy mode per Annex B.3.2. (r=jorendorff)
001519eae1c86e57b859310a1deaab0a668ff435
created 2015-12-18 13:18 -0800
pushed 2015-12-21 11:00 +0000
Shu-yu Guo Shu-yu Guo - Bug 1071646 - Make functions block-scoped in JS and implement Annex B semantics for compatibility. (r=jorendorff)
cd6226b5ea820de6651baa1c3a66aac8359d275c
created 2015-12-18 13:18 -0800
pushed 2015-12-21 11:00 +0000
Shu-yu Guo Shu-yu Guo - Bug 1071646 - Light refactoring of lexical binding helpers in Parser. (r=jorendorff)
f6271cdfbdb92a60547801d34c43286137ec72f8
created 2015-12-16 11:48 +0000
pushed 2015-12-17 11:05 +0000
Jon Coppeard Jon Coppeard - Bug 1231647 - Check for duplicate exported let and const in modules r=shu
d2bec6ed7b30b1d1d08fd6db570c91ad8fd99c08
created 2015-12-14 13:28 -0800
pushed 2015-12-15 13:54 +0000
Shu-yu Guo Shu-yu Guo - Backout bug 1071646, bug 1231758 for breaking the web. (r=woe)
5b4fe5acd50c8e16c1df2d9cb312c6875f3028fc
created 2015-12-09 07:52 -0800
pushed 2015-12-10 13:05 +0000
Shu-yu Guo Shu-yu Guo - Bug 1071646 - Support labelled function declarations in sloppy mode per Annex B.3.2. (r=jorendorff)
73c94ff300b2a4250abdc84935c30457077c4f9c
created 2015-12-09 07:52 -0800
pushed 2015-12-10 13:05 +0000
Shu-yu Guo Shu-yu Guo - Bug 1071646 - Make functions block-scoped in JS and implement Annex B semantics for compatibility. (r=jorendorff)
119258fe0dd6c8d3dac9c7c72c75d17d95ce9ea6
created 2015-12-09 07:52 -0800
pushed 2015-12-10 13:05 +0000
Shu-yu Guo Shu-yu Guo - Bug 1071646 - Light refactoring of lexical binding helpers in Parser. (r=jorendorff)
52d7c9292ecfc23a52835c49189dabd561b18675
created 2015-11-21 14:33 +0100
pushed 2015-11-23 13:35 +0000
Jan de Mooij Jan de Mooij - Bug 1132183 - Make |this| a real binding, remove lazy this computation. r=efaust,shu
less more (0) -300 -100 -60 tip