static SS functionsToComments() { new TreeMap<S> map; S src = myJavaSource(); for (L<S> tok : tok_findMainFunctions(src)) { S name = tok_functionName(tok); S comments = trim(get(tok, 0)); map.put(name, comments); } ret map; }
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: | #1012939 |
Snippet name: | functionsToComments - get comments directly before function declaration from Java source |
Eternal ID of this version: | #1012939/3 |
Text MD5: | 79ea50d3affa7d6e586557d698dbe58d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-18 16:53:37 |
Source code size: | 256 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 472 / 453 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |