Libraryless. Click here for Pure Java version (8393L/48K).
1 | srecord noeq JavaXPeepholeShortener(LS tok) {
|
2 | run {
|
3 | jreplace(tok, "<quoted>, <id>", "+$3", (_tok, nIdx) |
4 | -> eq(unquote(_get(tok, nIdx+1)), _get(tok, nIdx+5))); |
5 | } |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035184 |
| Snippet name: | JavaXPeepholeShortener |
| Eternal ID of this version: | #1035184/3 |
| Text MD5: | a1dbd31afae6f13b4f333528dfb22dfe |
| Transpilation MD5: | 233b49aca03867e5ba295844824d14cc |
| Author: | stefan |
| Category: | javax / transpiling |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-04-05 22:33:48 |
| Source code size: | 181 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 579 / 716 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |