Libraryless. Click here for Pure Java version (43L/1K).
static int tok_findVarDeclarationName(LS tok) { int j = 1; L<S> special = litlist("=", "{", ";"); while (j < tok.size() && !special.contains(tok.get(j))) j += 2; j -= 2; while (j > 1 && litlist("[", "]").contains(tok.get(j))) j -= 2; ret j; }
Began life as a copy of #1001161
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031429 |
Snippet name: | tok_findVarDeclarationName |
Eternal ID of this version: | #1031429/1 |
Text MD5: | 1facc88f320c41206b81109d14d6ddcf |
Transpilation MD5: | da38f49f0bed0af6cb725c2f0e68e832 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-12 07:47:23 |
Source code size: | 290 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 159 / 237 |
Referenced in: | [show references] |