Libraryless. Click here for Pure Java version (968L/7K/22K).
1 | !752 |
2 | |
3 | p-typewriter { |
4 | S s = "Hello /* comment */ world. \"String\" 'c' '\\u1234' 123 [[hello\n]] [=[long]= ]=]"; |
5 | Producer<S> p = javaTokC_onReader(new BufferedReader(new StringReader(s))); |
6 | S t; |
7 | new L<S> tok; |
8 | while ((t = p.next()) != null) { |
9 | tok.add(t); |
10 | print(quote(t)); |
11 | } |
12 | assertEquals(tok, javaTokC(s)); |
13 | print("OK"); |
14 | } |
Began life as a copy of #1005978
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005982 |
Snippet name: | Test javaTokC_onReader |
Eternal ID of this version: | #1005982/1 |
Text MD5: | 77cb482f37a8b2a82bbf173fb227528b |
Transpilation MD5: | 6458a39b951e923cedbc16e3fe29c931 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-13 18:28:01 |
Source code size: | 354 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 586 / 719 |
Referenced in: | [show references] |