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

5
LINES

< > BotCompany Repo | #1001156 // leftScanModifiers

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4995L/28K).

static int leftScanModifiers(L<S> tok, int i, Cl<S> modifiers default getJavaModifiers()) {
  while (i > 1 && contains(modifiers, tok.get(i-2)))
    i -= 2;
  return i;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001156
Snippet name: leftScanModifiers
Eternal ID of this version: #1001156/3
Text MD5: a763ace2090887a694640239bee32d6c
Transpilation MD5: 907ae7276b942b6346dd1f795af756c3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-03 03:00:16
Source code size: 176 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 615 / 2312
Version history: 2 change(s)
Referenced in: [show references]