Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: test/cctest/test-parsing.cc

Issue 918373002: Strip Interface class of most of its logic, make it all about Module exports (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merged to trunk Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« src/interface.cc ('K') | « src/x87/full-codegen-x87.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5089 matching lines...) Expand 10 before | Expand all | Expand 10 after
5100 "export default let x = 7;", 5100 "export default let x = 7;",
5101 "export default const x = 7;", 5101 "export default const x = 7;",
5102 "export *;", 5102 "export *;",
5103 "export * from;", 5103 "export * from;",
5104 "export { Q } from;", 5104 "export { Q } from;",
5105 "export default from 'module.js';", 5105 "export default from 'module.js';",
5106 "export { for }", 5106 "export { for }",
5107 "export { for as foo }", 5107 "export { for as foo }",
5108 "export { arguments }", 5108 "export { arguments }",
5109 "export { arguments as foo }", 5109 "export { arguments as foo }",
5110 "var a; export { a, a };",
5110 5111
5111 "import from;", 5112 "import from;",
5112 "import from 'm.js';", 5113 "import from 'm.js';",
5113 "import { };", 5114 "import { };",
5114 "import {;", 5115 "import {;",
5115 "import };", 5116 "import };",
5116 "import { , };", 5117 "import { , };",
5117 "import { , } from 'm.js';", 5118 "import { , } from 'm.js';",
5118 "import { a } from;", 5119 "import { a } from;",
5119 "import { a } 'm.js';", 5120 "import { a } 'm.js';",
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
5319 "class C {static set arguments(_) {}}", 5320 "class C {static set arguments(_) {}}",
5320 5321
5321 NULL}; 5322 NULL};
5322 5323
5323 static const ParserFlag always_flags[] = { 5324 static const ParserFlag always_flags[] = {
5324 kAllowHarmonyClasses, kAllowHarmonyObjectLiterals, kAllowHarmonyScoping, 5325 kAllowHarmonyClasses, kAllowHarmonyObjectLiterals, kAllowHarmonyScoping,
5325 kAllowStrongMode}; 5326 kAllowStrongMode};
5326 RunParserSyncTest(context_data, statement_data, kSuccess, NULL, 0, 5327 RunParserSyncTest(context_data, statement_data, kSuccess, NULL, 0,
5327 always_flags, arraysize(always_flags)); 5328 always_flags, arraysize(always_flags));
5328 } 5329 }
OLDNEW
« src/interface.cc ('K') | « src/x87/full-codegen-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698