Uses 11335K of libraries. Click here for Pure Java version (7848L/51K).
1 | svoid <A> lcPrintSubstrings(LineCompedSingle<A> lc) { |
2 | int n = lc.nItems(), n1 = lc.nLiterals(); |
3 | for i to n: { |
4 | if (i == n1) print("---"); |
5 | print(i + ": " + quote(lcUncompressItem(lc, i))); |
6 | } |
7 | print(uncompressLineCompedSingle(lc)); |
8 | } |
9 | |
10 | svoid <A> lcPrintSubstrings(LineCompCompressor lc) { |
11 | int n = lc.nItems(), n1 = lc.nLiterals(); |
12 | for i to n: { |
13 | if (i == n1) print("---"); |
14 | print(i + ": " + quote(lc.itemToString(i))); |
15 | } |
16 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028765 |
Snippet name: | lcPrintSubstrings |
Eternal ID of this version: | #1028765/8 |
Text MD5: | f1c803ecbc6fed98ac139e537965fe20 |
Transpilation MD5: | c345e2df37642c063e64e8049d59ea53 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-08 00:19:23 |
Source code size: | 460 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 266 / 373 |
Version history: | 7 change(s) |
Referenced in: | [show references] |