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

5
LINES

< > BotCompany Repo | #1027890 // tok_leftScanCustomModifiers

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

Libraryless. Click here for Pure Java version (74L/1K).

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

Author comment

Began life as a copy of #1001156

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027890
Snippet name: tok_leftScanCustomModifiers
Eternal ID of this version: #1027890/1
Text MD5: a162ccb6677f4d80629a213da83a3c70
Transpilation MD5: 69f402e05879e22995526d5d6530ce99
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-16 15:33:04
Source code size: 157 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 275
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032807 - tok_leftScanJavaxModifiers