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

8
LINES

< > BotCompany Repo | #1013178 // tok_statementsInMethodDeclaration

JavaX fragment (include)

static LL<S> tok_statementsInMethodDeclaration(S src) {
  if (src == null) null;
  L<S> tok = javaTok(src);
  L<S> block = tok_firstBlock(tok);
  if (block == null) null;
  L<S> contents = dropFirstTwoAndLastTwo(block);
  ret tok_splitJavaStatements(contents);
}

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: #1013178
Snippet name: tok_statementsInMethodDeclaration
Eternal ID of this version: #1013178/3
Text MD5: f6cd6a943b624186733732dc0110d414
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-27 04:31:59
Source code size: 269 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 398 / 417
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1013179 - tok_statementsInStandardFunction
#1013421 - tok_methodBody