1 | static L<Pair<S>> parseMultiLineIfThen(S text) { |
2 | text = ai_ifThenToMultiLine(text); |
3 | new L<Pair<S>> out; |
4 | for (S line : toLinesFullTrim(text)) |
5 | out.add(parseMultiLineIfThen_line(line)); |
6 | ret out; |
7 | } |
8 | |
9 | static Pair<S> parseMultiLineIfThen_line(S s) { |
10 | ret pair(assertIdentifier(firstJavaToken(s)), trim(dropFirstJavaToken(s))); |
11 | } |
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: | 523 / 535 |
Version history: | 1 change(s) |
Referenced in: | [show references] |