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

7
LINES

< > BotCompany Repo | #1023409 - tok_virtualTypes

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

Transpiled version (2237L) is out of date.

1  
// references to objects in other realm (replace with Object)
2  
svoid tok_virtualTypes(LS tok) {
3  
  int i = -1;
4  
  while ((i = jfind(tok, i+1, "virtual <id>")) >= 0) {
5  
    replaceTokens_reTok(tok, i, tok_findEndOfType(tok, i+2)-1, "Object");
6  
  }
7  
}

download  show line numbers  debug dex   

Travelled to 5 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz

No comments. add comment

Snippet ID: #1023409
Snippet name: tok_virtualTypes
Eternal ID of this version: #1023409/2
Text MD5: 81af2848504fd812140afbf30dae5e9a
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-17 22:49:52
Source code size: 249 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 69 / 101
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1023409 & http://1023409.tinybrain.de