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.

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

download  show line numbers  debug dex   

Travelled to 3 computer(s): cfunsshuasjs, mqqgnosmbjvj, 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: 48 / 70
Version history: 1 change(s)
Referenced in: [show references]

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