Commit Graph

788 Commits

Author SHA1 Message Date
sharwell 2fce2b0f2d v4: Fix mark/seek/release for LookaheadStream
LookaheadStream.LB can see back to the earliest mark
Specify @Override

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9334]
2011-11-17 16:02:58 -08:00
sharwell 66c53e18dc v4: Expose generic List<Integer>
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9333]
2011-11-17 16:01:13 -08:00
sharwell ed32646f52 v4: Simple use of generics to clean up local impl code
Specify @Override

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9332]
2011-11-17 16:00:40 -08:00
sharwell ddf4cadf06 v4: TokenStream extends ObjectStream<Token> (specified Token as the type parameter)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9327]
2011-11-17 15:52:21 -08:00
sharwell 29ec107b24 v4: Remove explicit boxing/unboxing
Add @Override and @Nullable annotations

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9326]
2011-11-17 15:49:34 -08:00
sharwell 92bbdfbaea v4: Use generics for List and Map fields/locals to clean up several casts
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9325]
2011-11-17 15:48:23 -08:00
sharwell ee4a70cf16 v4: StringBuilder instead of StringBuffer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9324]
2011-11-17 15:44:49 -08:00
parrt 8792fe19ff rm
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9314]
2011-11-17 11:16:51 -08:00
parrt 6e38497b11 change name
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9313]
2011-11-17 11:07:33 -08:00
sharwell fe16bc3f1f v4: Add ParseTreeWalker.DEFAULT to make basic listener usage easier
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9312]
2011-11-15 12:31:11 -08:00
parrt d597de1792 tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9311]
2011-11-13 18:26:27 -08:00
parrt 27cbd249ac Added lots of little stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9310]
2011-11-13 18:04:35 -08:00
parrt c8e9e12a74 add <T> to ast stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9309]
2011-11-13 12:57:15 -08:00
parrt 60817a180a tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9308]
2011-11-13 11:52:29 -08:00
parrt 1d29898f1b tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9307]
2011-11-13 11:35:25 -08:00
parrt 324884585b add slider
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9306]
2011-11-13 11:35:11 -08:00
parrt f420f4c327 add OK button, set size, add scale
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9305]
2011-11-13 11:06:40 -08:00
parrt 7050d07d5b tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9304]
2011-11-12 13:19:49 -08:00
parrt e6d316f3e9 added {...} as option value. <fail={"value must be <= "+$max}>
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9303]
2011-11-12 12:47:11 -08:00
parrt 91ccd76e65 tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9302]
2011-11-10 14:22:58 -08:00
parrt 3729529f25 msg->fail
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9301]
2011-11-10 14:09:28 -08:00
parrt 61e9eade6a added {...}?<msg="foo"> option
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9300]
2011-11-10 14:08:16 -08:00
parrt 1cd3bacaf2 tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9289]
2011-11-10 12:30:12 -08:00
parrt 843375522d tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9288]
2011-11-10 12:23:33 -08:00
parrt fbbf74bc4e add exception to recover()
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9287]
2011-11-10 12:21:08 -08:00
parrt b6d8ff9234 tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9286]
2011-11-10 12:16:28 -08:00
sharwell 26d5d5c9c0 v4 tool:
* StringBuilder instead of StringBuffer
* Add Utils.setSize for List<?>
* Use Func1<T, TResult> "delegate" instead of reflection for Utils.apply (and rename apply to select to suggest a return value)

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9272]
2011-11-10 07:58:00 -08:00
sharwell 3a8ab7f859 v4 tool: Fix compile error (Ter's using a custom build of v3... this works with both) :)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9271]
2011-11-10 07:53:22 -08:00
sharwell f9c364db1f v4 tool: A couple simple generics
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9270]
2011-11-10 07:52:30 -08:00
sharwell 3ca6ab034d v4: Can't add a DFA edge for token types < -1 (EOF)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9269]
2011-11-09 10:18:54 -08:00
sharwell 783c3b2e50 v4:
* Use mark->seek->release instead of mark->release->seek
* mark() returns a marker. must pass the result of index() to seek(), and the result of mark() to release().

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9268]
2011-11-09 10:16:51 -08:00
parrt 2767530a47 name change
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9267]
2011-11-06 12:36:24 -08:00
parrt e0fc8fe087 was consuming too much in recover
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9266]
2011-11-06 11:22:25 -08:00
parrt ca17a4ce5b ooops; wrong version
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9265]
2011-11-06 10:32:01 -08:00
parrt ddb7ae218d useError recovery said notThe set that follows a loop for sync()
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9264]
2011-11-06 10:31:13 -08:00
parrt 8237c2f0fb tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9263]
2011-11-06 08:30:43 -08:00
parrt 64b4cbd2c8 added auto highlight to tree views
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9262]
2011-11-05 08:56:12 -08:00
parrt c17aab708f tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9261]
2011-11-03 13:40:16 -08:00
parrt 3e03259ac0 tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9260]
2011-11-03 12:50:13 -08:00
parrt b23c093b68 no longer drawing background of nodes in tree unless you set a color
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9255]
2011-11-03 09:33:08 -08:00
parrt ffc4f9b126 added Cay Horstmann's printing code for postscript.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9254]
2011-11-03 09:10:30 -08:00
parrt 647cb6d0ad tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9237]
2011-11-01 11:06:39 -08:00
parrt 8eb2e62fea tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9236]
2011-11-01 10:46:34 -08:00
parrt 2efba8b39d it was sending null to postscript generation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9235]
2011-11-01 09:32:40 -08:00
parrt e75aa84d4c udo fixes
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9233]
2011-11-01 06:37:35 -08:00
parrt 5cf4cba9c7 fix bug in modes
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9231]
2011-10-31 16:27:34 -08:00
parrt dd1ad971a9 more
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9229]
2011-10-30 13:49:35 -08:00
parrt 947a11a3e4 start lexical error unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9228]
2011-10-30 13:48:09 -08:00
parrt 800564e1d6 made DFA sim loop smaller; refactored
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9227]
2011-10-30 13:23:52 -08:00
parrt 2d43a22e27 reorg'd lexer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9226]
2011-10-30 10:39:17 -08:00