1 | sS tok_dropAfterRoundBracketStuff(S s) { |
2 | LS tok = javaTokWithBrackets(s); |
3 | for (int i = 1; i < l(tok); i += 2) |
4 | if (isRoundBracketed(tok.get(i))) |
5 | ret joinSubList(tok, 0, i+1); |
6 | ret s; |
7 | } |
Began life as a copy of #1021383
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: | #1021550 |
Snippet name: | tok_dropAfterRoundBracketStuff |
Eternal ID of this version: | #1021550/1 |
Text MD5: | 3ced5d317c330d9644a0bd44753bbaf1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-17 19:05:41 |
Source code size: | 204 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 318 / 362 |
Referenced in: | [show references] |