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

5
LINES

< > BotCompany Repo | #1032958 // tok_scanTypeArgs_idx

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

Libraryless. Click here for Pure Java version (3891L/22K).

// return index of code token after type args
static int tok_scanTypeArgs_idx(LS tok, int i) {
  if (!eqGet(tok, i, "<")) ret i;
  ret findEndOfTypeArgs(tok, i)+1;
}

Author comment

Began life as a copy of #1032957

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032958
Snippet name: tok_scanTypeArgs_idx
Eternal ID of this version: #1032958/4
Text MD5: b6d47466ba11b93db50cfc2e8f0b0200
Transpilation MD5: 7894fb4c36dda3ecffb3b2afc175c07c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 06:01:07
Source code size: 171 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 138 / 202
Version history: 3 change(s)
Referenced in: [show references]