js/src/frontend/TokenStream.h
1afcb999264298659ff610d3409f067565e7c031
created 2018-04-27 15:02 -0700
pushed 2018-06-18 21:12 +0000
Eric Faust Eric Faust - Bug 1451826 - Part 3: No longer call TokenStream::computeErrorMetadata from BCE. (r=Waldo)
3010f9088dc76ba9d1918ab6fd5a5aaf24436a42
created 2018-04-23 13:37 -0700
pushed 2018-06-18 21:12 +0000
Jeff Walden Jeff Walden - Bug 1456296 - Move IdentifierName parsing into a separate function from TSS::getTokenInternal to simplify some control flow. r=arai
6ff8aaef28669cc3945291a182232680481256da
created 2018-04-11 23:19 +0200
pushed 2018-06-18 21:12 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Backing out js/src/ for violation of committing guideliens. CLOSED TREE
d7d2f08e051c3c355d41dc5c1ce1bd3ca55a43b9
created 2018-04-10 21:11 +0200
pushed 2018-06-18 21:12 +0000
Tristan Bourvon Tristan Bourvon - Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
4f2a7bac273340118c8e74c539553fd912dc2813
created 2018-04-09 16:10 -0700
pushed 2018-06-18 21:12 +0000
Jeff Walden Jeff Walden - Bug 1452818 - Make tokenstream positions be created by constructor-call so that their members don't have to be default-constructible. r=arai
5c1eb1402aec37b651e850434f181c2e96d5d7d6
created 2018-03-29 06:21 -0700
pushed 2018-06-18 21:12 +0000
André Bargull André Bargull - Bug 1433909 - Part 3: Rename TokenStream::undoGetChar for clarity. r=Waldo
a8af22a4ed7521e18ead2b57ec128c2b949a222f
created 2018-03-29 06:21 -0700
pushed 2018-06-18 21:12 +0000
André Bargull André Bargull - Bug 1433909 - Part 1: Use (un)getCharIgnoreEOL in more cases in TokenStream. r=Waldo
eb84980f64f2bf6b4dfc1c9b10674c75809e766f
created 2018-02-24 08:55 -0600
pushed 2018-04-26 16:43 +0000
Jason Orendorff Jason Orendorff - Bug 1439026 - Part 1: Rename jsstr* -> builtin/String*. r=jandem.
77728b046b9572d38d0c576ca93a07d767c75018
created 2018-03-02 15:57 +0200
pushed 2018-04-26 16:43 +0000
Ciure Andrei Ciure Andrei - Backed out 10 changesets (bug 1439026) for spidermonkey-sm-nonunified-linux64 bustages. a=backout on a CLOSED TREE
72a84df56d3901e17b78b5cc7698cee8883f6614
created 2018-02-24 08:55 -0600
pushed 2018-04-26 16:43 +0000
Jason Orendorff Jason Orendorff - Bug 1439026 - Part 1: Rename jsstr* -> builtin/String*. r=jandem.
b7634d84216c16379ff045db5c155894457506fb
created 2018-02-08 21:22 -0800
pushed 2018-04-26 16:43 +0000
Chris Peterson Chris Peterson - Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj
6064b17b6be60caaf9a1ddfa84df95c41b9ce0fb
created 2018-02-05 22:50 -0800
pushed 2018-04-26 16:43 +0000
Chris Peterson Chris Peterson - Bug 1436263 - Part 2: Replace `override final` virtual function specifiers with just `final`. r=froydnj
609eb4880073d3b1ff1a198ec68737dce50bcb3f
created 2018-02-12 15:05 -0600
pushed 2018-04-26 16:43 +0000
Jason Orendorff Jason Orendorff - Bug 1429206 - Part 7: Rename jscntxt* -> vm/JSContext*. r=jandem.
e4213d1706e9f0784523c4ad10c6c725ac784e2c
created 2018-01-29 12:35 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Change TokenStreamCharsBase::appendMultiUnitCodepointToTokenbuf to TokenStreamCharsBase::appendCodePointToTokenbuf so that the idea doesn't require knowledge of multi-unitness. r=arai
11ead800137e9b0345f5b6541588de76615d28ac
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Use the current offset, not the offset of the start of the current token, when reporting errors for unterminated string/template literals. r=till
622a8e0b2b83cc0b4c965b14f6156219eaffbdf3
created 2018-02-03 01:03 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Backed out changeset 4b03e86fb95a, still issues of some kind there. r=red
18b6413bb60c36255f6df7e5fb2f35b43d9884b3
created 2018-02-02 23:26 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Backed out changeset dcde99a8fa6c for a test failure and misuse of a function that takes an inout param, not an outparam as the patch author had assumed. r=red
dcde99a8fa6c5bee9bba23525b402f3ce6dd479b
created 2018-01-29 12:35 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Change TokenStreamCharsBase::appendMultiUnitCodepointToTokenbuf to TokenStreamCharsBase::appendCodePointToTokenbuf so that the idea doesn't require knowledge of multi-unitness. r=arai
4b03e86fb95a61670dc54c1b3245ce8faf9dd528
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Use the current offset, not the offset of the start of the current token, when reporting errors for unterminated string/template literals. r=till
229b3ea6530f11018de78fd3bd7bf1bd4e1f29d6
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Implement TokenStreamChars::matchMultiUnitCodePoint as a better nailing-down of behavior when processing a multi-code unit code point. r=arai
1bf0b12b992ffe3b6c5787a43242abbe0558b356
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Implement a TokenStreamChars::ungetCodePointIgnoreEOL and use it to report errors at precise locations, rather than blindly at the beginning of the token (which happens to be the same thing, just not nearly as clear about it). r=arai
d353d4a61cb0c01435225f77e5cec73348529409
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Move TokenStreamSpecific::ungetCharIgnoreEOL into TokenStreamCharsBase. r=arai
a9cb684274da9ec6da52f0baef85397a8a374dd0
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Move TokenStreamSpecific::ungetChar into a new GeneralTokenStreamChars<CharT, AnyCharsAccess> inserted between TokenStreamCharsBase<CharT> and TokenStreamChars<CharT, AnyCharsAccess> in the token stream inheritance hierarchy. r=arai
63fe40a76a252775c0a24bc65f64a479d8a5946e
created 2018-02-01 03:31 +0200
pushed 2018-04-26 16:43 +0000
Cosmin Sabou Cosmin Sabou - Backed out 7 changesets (bug 1434429) for build bustages on regress-618572.js and TokenStream.h on a CLOSED TREE
b190c5a3dab273579a5c8b5b06dd83be75459c17
created 2018-01-31 16:22 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Followup bustage fix (?) for gcc (and maybe other?) compiler bustage. Worked in recent clang... r=boogstage in a CLOSED TREE
95e07a79f4b21c5e9981393e9d0255a8787fa1ef
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Implement TokenStreamChars::matchMultiUnitCodePoint as a better nailing-down of behavior when processing a multi-code unit code point. r=arai
21c79fd76133ca1c3b57109ecaf38b1db9fe1171
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Implement a TokenStreamChars::ungetCodePointIgnoreEOL and use it to report errors at precise locations, rather than blindly at the beginning of the token (which happens to be the same thing, just not nearly as clear about it). r=arai
45c9102825ab7d7155a7940cd36334383a067c47
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Move TokenStreamSpecific::ungetCharIgnoreEOL into TokenStreamCharsBase. r=arai
112eaf00632ceff1eaf9a6958e654061ebe4d588
created 2018-01-18 11:34 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1434429 - Move TokenStreamSpecific::ungetChar into a new GeneralTokenStreamChars<CharT, AnyCharsAccess> inserted between TokenStreamCharsBase<CharT> and TokenStreamChars<CharT, AnyCharsAccess> in the token stream inheritance hierarchy. r=arai
9eecb5e20e1023bbd7bc31f29cb7de9f04759af6
created 2018-01-11 07:54 -0800
pushed 2018-04-26 16:43 +0000
Jeff Walden Jeff Walden - Bug 1428863 - Move TokenStreamChars::copyTokenbufTo to TokenStreamCharsBase. r=arai
7e7ac16af76a80adbf46e1d410c43b5308a78536
created 2018-01-20 17:08 -0600
pushed 2018-04-26 16:43 +0000
Rofael Aleezada Rofael Aleezada - Bug 1427710 part 2 - Removed TOK_ prefixes. r=jandem
24b899860ad05ce760f4cd77f2fa02f91a67f70b
created 2018-01-11 07:52 -0800
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1428863 - Move TokenStreamChars::atomizeChars into TokenStreamCharsBase -- no need for it in the more-derived class as long as it can be specialized for multiple character types. r=arai
515639ccfaf21f80b52a91544d1f2a219bb11e98
created 2017-12-27 10:21 -0500
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1428863 - Minimize access to various base-class |using| declarations in TokenStreamSpecific. r=arai
6349fe7d8cbf246274f39f14456d2b5a70863217
created 2017-12-27 10:21 -0500
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1428863 - Add and use TokenStreamChars::copyTokenbufTo. r=arai
118c5618f34898c1dc4fd562401acc6298529c47
created 2017-12-27 10:21 -0500
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1428863 - Add TokenStreamChars::asSpecific to consolidate a downcast into a helper function. r=arai
c1406363fb17e2409dbbbf9291c3f7dd4cdf50e5
created 2017-12-27 10:21 -0500
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1428863 - Make TokenStreamChars have a delegated constructor. r=arai
5eb4b2bdb7cd9acd4dac829bc930142d1f3b6d33
created 2018-01-12 15:16 +0100
pushed 2018-03-01 12:45 +0000
Rofael Aleezada Rofael Aleezada - Bug 1427710 part 1 - Make TokenKind an enum class. r=jandem
0559a4899c440b7c9a6666715cd3a1836fc4128f
created 2017-12-05 23:58 -0800
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1424394 - Split TokenStream in Parser across Parser and ParserBase. r=arai
7496d9ff6fa0ae03545ce206caba5490a26c9226
created 2017-12-05 23:58 -0800
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1424394 - Decouple TokenStream and TokenStreamBase from being related only through inheritance, but rather through a generalized static system. r=arai
b2f626567ad247bf40c9bf4cea23026e1c92fa90
created 2017-12-05 23:58 -0800
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1424394 - Remove ErrorReporter::offset(), replacing its sole use (passing it to ErrorReporter::lineNumAndColumnIndex) with a new ErrorReporter::currentLineAndColumn(). Also rename ErrorReporter::lineNumAndColumnIndex to ErrorReporter::lineAndColumnAt for consistent naming aesthetics. r=Yoric
14062282d28b457fa6eb08b4c5e84eb77b2a46ec
created 2017-11-06 13:21 -0800
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1424394 - Change ErrorReporter::reportErrorNoOffset to take a va_list of parameters, not direct varargs. r=Yoric
35fb9aa192a809fe8bdf3bb80bc249c5b901e5bb
created 2017-12-02 00:41 -0800
pushed 2018-03-01 12:45 +0000
Jeff Walden Jeff Walden - Bug 1424394 - Pass va_list* rather than va_list to certain TokenStream error-reporting functions, to hack around issues reported in bug 1363116. r=arai
e39d8a15596a0c97ea1ce19194ce43af59cfbb60
created 2017-12-01 10:04 -0800
pushed 2018-03-01 12:45 +0000
André Bargull André Bargull - Bug 1422362: Remove unused parameters from various methods in js/src. r=tcampbell
53c688982d4ba2543f898461478bead6c278e46b
created 2017-12-05 19:30 +0200
pushed 2018-03-01 12:45 +0000
Noemi Erli Noemi Erli - Backed out changeset 0ec15b1f9fd3 (bug 1422362) for linux32 debug bustage in js/src/gc/Cell.h r=backout on a CLOSED TREE
0ec15b1f9fd34ed6d6c860064251b57ce48790c2
created 2017-12-01 10:04 -0800
pushed 2018-03-01 12:45 +0000
André Bargull André Bargull - Bug 1422362: Remove unused parameters from various methods in js/src. r=tcampbell
68bcd8b8a36b638c8206bf19d8a0def7e24fa973
created 2017-11-17 12:12 +0100
pushed 2018-03-01 12:45 +0000
Jan de Mooij Jan de Mooij - Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie
84ca952eaff281a80ecb2ad15519bc538417440c
created 2017-11-16 12:46 -0800
pushed 2018-01-11 17:45 +0000
Jeff Walden Jeff Walden - Back out the changes from 71e5015934c2 with regard to a single test, af596055be21, d8441c69c083, eed73ebe0266, 8b99335365c5, b63a6b43bab8, and fe95681caba3 from beta. These bugfixes improved on certain fronts but regressed on others, and the full fix (not yet written) will almost certainly be too involved to backport. r=arai, a=gchang
fe95681caba37614bce265edcbf5572a4dc2d7d8
created 2017-10-30 12:47 -0700
pushed 2018-01-11 17:45 +0000
Jeff Walden Jeff Walden - Bug 1319416 - Substantially rejigger token lookahead and modifier exceptions to function more like the spec. r=arai
97f1bedf7155dd886771d2821db258e02b6be28f
created 2017-08-03 11:27 +0200
pushed 2017-11-02 12:36 +0000
David Teller David Teller - Bug 1377272 - Making ParserContext less intertwined with Parser;r=shu+381259
c743648bf55b896d1721a86b635e2d007b4accd8
created 2017-08-03 04:42 +0900
pushed 2017-09-14 16:50 +0000
Tooru Fujisawa Tooru Fujisawa - Bug 1385112 - Use uint32_t in TokenStream::skipChars. r=anba, a=lizzard
19a82f6ac49ed777cb9131eea991098dee59a532
created 2017-07-17 18:45 -0700
pushed 2017-09-14 16:50 +0000
Shu-yu Guo Shu-yu Guo - Bug 1366927 - Rework column handling in frontend by separating column from offset from root ScriptSource buffer. (r=jimb)
f3e0fdc7f8341ded488221d47f8e702831653a05
created 2017-04-13 17:52 -0700
pushed 2017-07-31 14:08 +0000
Jeff Walden Jeff Walden - Bug 1351107 - Rename TokenStreamBase to TokenStreamAnyChars, anticipating this class eventually not being a base class. r=arai
4ea208159e7a4621ae72aa2333f749593467652b
created 2017-04-19 16:30 -0700
pushed 2017-07-31 14:08 +0000
Jeff Walden Jeff Walden - Bug 1351107 - Move RegExpFlags, RegExpShared, and RegExpCompartment into vm/RegExpShared.h so that users requiring only those types don't have to import everything RegExpObject requires. r=arai
5acf7c7c8dc1db372479fe677e7a94c2652aa8c0
created 2017-05-01 19:40 -0700
pushed 2017-07-31 14:08 +0000
Jeff Walden Jeff Walden - Bug 1351107 - Use unicode::{LINE,PARA}_SEPARATOR instead of hand-rolling them for TokenStream code. r=arai
bfd50ac2e7bda63c00111c95d3cdbf591414657d
created 2017-04-25 23:36 -0700
pushed 2017-07-31 14:08 +0000
Jeff Walden Jeff Walden - Bug 1359980 - Make RegExpParser::ReportError give better error messages that point directly at the offending character within the pattern, rather than just at the start of the RegExp literal. r=arai
53672c48392add5e976edd062af5abfa45f48818
created 2017-04-29 12:51 +0200
pushed 2017-07-31 14:08 +0000
Sebastian Hengst Sebastian Hengst - Backed out changeset de236ed88685 (bug 1351107) to hopefully fixing rooting hazard. r=backout
5022472053033960fd63f266f1c100c02df8de7a
created 2017-04-29 11:05 +0200
pushed 2017-07-31 14:08 +0000
Sebastian Hengst Sebastian Hengst - Backed out changeset 2c965dfef6c8 (bug 1359980) for hazard. r=backout
de236ed8868530f29594ce362d30cc5541690a6f
created 2017-04-15 00:51 -0700
pushed 2017-07-31 14:08 +0000
Jeff Walden Jeff Walden - Bug 1351107 - Use unicode::{LINE,PARA}_SEPARATOR instead of hand-rolling them for TokenStream code. r=arai
2c965dfef6c8093c690c911ded55e6adaaa8471d
created 2017-04-25 23:36 -0700
pushed 2017-07-31 14:08 +0000
Jeff Walden Jeff Walden - Bug 1359980 - Make RegExpParser::ReportError give better error messages that point directly at the offending character within the pattern, rather than just at the start of the RegExp literal. r=arai
3c9dcaac0b9f79a4402b129c1206170e9920d316
created 2017-04-18 05:48 -0700
pushed 2017-07-31 14:08 +0000
André Bargull André Bargull - Bug 1351913 - Reduce calls to FindReservedWord when checking for forbidden identifiers during parsing. r=shu
less more (0) -300 -100 -60 tip