Libraryless. Click here for Pure Java version (5284L/30K).
1 | svoid tok_selfNestedType(LS tok, S nestedName, S simpleName, bool legacy) { |
2 | jreplace(tok, nestedName + "< <id> >", "\*simpleName*/<\*simpleName*/<$3>>"); |
3 | jreplace(tok, nestedName + "< <id><<id>> >", "\*simpleName*/<\*simpleName*/<$3<$5>>>"); |
4 | jreplace(tok, nestedName + "<?>", "\*simpleName*/<\*simpleName*/<?>>"); |
5 | jreplace(tok, nestedName, legacy |
6 | ? "\*simpleName*/<\*simpleName*/>" |
7 | : "\*simpleName*/<\*simpleName*/<?>>"); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033359 |
Snippet name: | tok_selfNestedType |
Eternal ID of this version: | #1033359/1 |
Text MD5: | c9885bb343f1f650c65d7ccba3a53077 |
Transpilation MD5: | 657e589d45821105ea761a7eb5e789e3 |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-25 02:11:33 |
Source code size: | 446 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 173 / 244 |
Referenced in: | [show references] |