static L<Pair<S>> parseMultiLineIfThen(S text) { text = ai_ifThenToMultiLine(text); new L<Pair<S>> out; for (S line : toLinesFullTrim(text)) out.add(parseMultiLineIfThen_line(line)); ret out; } static Pair<S> parseMultiLineIfThen_line(S s) { ret pair(assertIdentifier(firstJavaToken(s)), trim(dropFirstJavaToken(s))); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012891 |
Snippet name: | parseMultiLineIfThen |
Eternal ID of this version: | #1012891/2 |
Text MD5: | decb5fbc61263daf0109cabddddcc5a8 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-18 23:33:59 |
Source code size: | 344 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 522 / 534 |
Version history: | 1 change(s) |
Referenced in: | [show references] |