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

12
LINES

< > BotCompany Repo | #1012537 // Parse a standard function [dev.]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (5240L/36K).

!7

p {
  S text = loadSnippet(#1012531);
  print(text);
  L<S> tok = javaTok(text);
  L<S> block = tok_firstBlock(tok);
  if (block == null) ret with print("No block");
  L<S> contents = dropFirstTwoAndLastTwo(block);
  LL<S> statements = tok_splitJavaStatements(contents);
  pnlStruct(statements);
}

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: #1012537
Snippet name: Parse a standard function [dev.]
Eternal ID of this version: #1012537/1
Text MD5: 9b3474760bac7f20b624fc55880a063c
Transpilation MD5: c76c33c5f732be9e44f3e8f4652dadef
Author: stefan
Category: javax / parsing
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-07 01:26:32
Source code size: 312 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 432 / 1029
Referenced in: [show references]