1 | static LS gazelle_expandThey(final GazelleTree tree) { |
2 | if (!cic(tree.line, "they")) null; |
3 | LS replacements = uniquify(map afterEquals_trim(collect line(gazelle_searchTreeUpwardsForDefinitions("they", tree)))); |
4 | if (empty(replacements)) null; |
5 | ret map(replacements, func(S s) -> S { |
6 | jreplaceIC(tree.line, "they", optCurly(s)) |
7 | }); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021576 |
Snippet name: | gazelle_expandThey |
Eternal ID of this version: | #1021576/2 |
Text MD5: | ff3da1e709df432f7961fe8112385038 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-18 17:16:18 |
Source code size: | 348 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 303 / 338 |
Version history: | 1 change(s) |
Referenced in: | [show references] |