Libraryless. Click here for Pure Java version (5332L/30K).
1 | svoid tok_unifyKeywords(LS tok, Cl<S> keywords, S replacement) {
|
2 | for (kw : keywords) |
3 | if (!eq(kw, replacement)) |
4 | jreplace(tok, kw, replacement); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033751 |
| Snippet name: | tok_unifyKeywords |
| Eternal ID of this version: | #1033751/2 |
| Text MD5: | 51eeff86b4924a85ec08d0ee27d0ea01 |
| Transpilation MD5: | 8903ce0082c240872fca5fc8d814b6b1 |
| Author: | stefan |
| Category: | javax / transpiling |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-01 21:45:48 |
| Source code size: | 162 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 355 / 467 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |