1 | sS tok_moduleNameFromJavaXSource(S src) { |
2 | LS tok = javaTok(src); |
3 | int i = jfind_any(tok, "module <id>", "cmodule <id>"); |
4 | ret i < 0 ? null : tok.get(i+2); |
5 | } |
Began life as a copy of #1018678
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: | #1023398 |
Snippet name: | tok_moduleNameFromJavaXSource |
Eternal ID of this version: | #1023398/1 |
Text MD5: | f9e39213729311e18143dc8e1e10e53f |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-17 20:01:05 |
Source code size: | 166 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 230 / 258 |
Referenced in: | [show references] |