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

10
LINES

< > BotCompany Repo | #1033168 // tok_typeArgs_declToInvocation

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

Libraryless. Click here for Pure Java version (10179L/56K).

// TODO: more cases
sS tok_typeArgs_declToInvocation(S typeArgs) {
  LS tok = javaTok(typeArgs);
  int i;
  while ((i = jfind(tok, "extends <id>")) >= 0) {
    int j = tok_endOfType(tok, i+2);
    clearTokens(tok, i, j);
  }
  ret join(tok);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033168
Snippet name: tok_typeArgs_declToInvocation
Eternal ID of this version: #1033168/3
Text MD5: f45165121e33d2ddebfae9bea5c1f1a3
Transpilation MD5: 68596b208608effceb023abc79ba753c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-06 20:36:20
Source code size: 252 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 198 / 295
Version history: 2 change(s)
Referenced in: [show references]