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

5
LINES

< > BotCompany Repo | #1026804 // tok_findBeginningOfType

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

Libraryless. Click here for Pure Java version (2157L/14K).

static int tok_findBeginningOfType(LS tok, int i) {
  while (isIdentifier(get(tok, i)) && eqGet(tok, i-2, ".") && isIdentifier(get(tok, i-4)))
    i -= 4;
  ret i;
}

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: #1026804
Snippet name: tok_findBeginningOfType
Eternal ID of this version: #1026804/1
Text MD5: c10fbbecf72600119ff38649b0cb9c60
Transpilation MD5: 01f4b0b65724926f3b478d62d6263528
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-23 17:10:03
Source code size: 169 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 203 / 283
Referenced in: [show references]