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

10
LINES

< > BotCompany Repo | #1025382 - tok_metaTransformNow - collect & do it

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

Transpiled version (5278L) is out of date.

svoid tok_metaTransformNow(LS tok) {
  int i = -1;
  while ((i = jfind(tok, i+1, "meta-transformNow {")) >= 0) {
    int iOpening = indexOf(tok, i, "{");
    int iClosing = findEndOfBracketPart(tok, iOpening)-1;
    S code = joinSubList(tok, iOpening+2, iClosing-1);
    clearTokens_reTok(tok, i, iClosing+1);
    tok_runMetaTransformer(tok, code);
  }
}

Author comment

Began life as a copy of #1025379

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1025382
Snippet name: tok_metaTransformNow - collect & do it
Eternal ID of this version: #1025382/5
Text MD5: 57ce28501a56c29f0662cabd9173c5b4
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-27 01:09:48
Source code size: 363 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 9 / 22
Version history: 4 change(s)
Referenced in: [show references]

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