Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1017177 // tok_contentsOfForExpression

JavaX fragment (include)

static S tok_contentsOfForExpression(S s) {
  L<S> tok = javaTok(s);
  int i = indexOf(tok, "(");
  int j = tok_findEndOfForExpression(tok, i+2);
  ret joinSubList(tok, i+1, j-1);
}

Author comment

Began life as a copy of #1013213

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017177
Snippet name: tok_contentsOfForExpression
Eternal ID of this version: #1017177/4
Text MD5: dd13cd01c5030a3f0384e50e99efab4d
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 17:18:04
Source code size: 186 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 369
Version history: 3 change(s)
Referenced in: [show references]