Libraryless. Click here for Pure Java version (3478L/22K).
static BasicLogicRule<S> ai_sharedWordsIntoDollarVars(BasicLogicRule<S> r) { LS words = antiFilter isDollarVar(sharedWords(r.lhs, r.rhs)); SS map = ciMapWithUnusedCountingDollarVars(words, linesLL(r.lhs, r.rhs)); ret mapBasicLogicRule(r, s -> replaceCodeTokensUsingMap(s, map)); }
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: | 409 / 558 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028916 - ai_sharedPhrasesIntoDollarVars |