Uses 11335K of libraries. Click here for Pure Java version (7848L/51K).
svoid <A> lcPrintSubstrings(LineCompedSingle<A> lc) { int n = lc.nItems(), n1 = lc.nLiterals(); for i to n: { if (i == n1) print("---"); print(i + ": " + quote(lcUncompressItem(lc, i))); } print(uncompressLineCompedSingle(lc)); } svoid <A> lcPrintSubstrings(LineCompCompressor lc) { int n = lc.nItems(), n1 = lc.nLiterals(); for i to n: { if (i == n1) print("---"); print(i + ": " + quote(lc.itemToString(i))); } }
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: | 265 / 372 |
Version history: | 7 change(s) |
Referenced in: | [show references] |