Libraryless. Click here for Pure Java version (3478L/22K).
1 | static BasicLogicRule<S> ai_sharedWordsIntoDollarVars(BasicLogicRule<S> r) { |
2 | LS words = antiFilter isDollarVar(sharedWords(r.lhs, r.rhs)); |
3 | SS map = ciMapWithUnusedCountingDollarVars(words, linesLL(r.lhs, r.rhs)); |
4 | ret mapBasicLogicRule(r, s -> replaceCodeTokensUsingMap(s, map)); |
5 | } |
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: | #1028853 |
Snippet name: | ai_sharedWordsIntoDollarVars |
Eternal ID of this version: | #1028853/1 |
Text MD5: | 06db3c59a77ca1eca87b6a4508a68be7 |
Transpilation MD5: | 17c4bde7508fa27ba674e059ac384128 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-09 23:16:59 |
Source code size: | 290 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 215 / 318 |
Referenced in: | [show references] |