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

6
LINES

< > BotCompany Repo | #1008348 // findMultiLineVarDefinition

JavaX fragment (include)

// returns CNC including only the string
static L<S> findMultiLineVarDefinition(L<S> tok, S varName) {
  int i = findCodeTokens(tok, varName, "=", "<quoted>");
  if (i < 0) ret null;
  ret subList(tok, i+3, i+5);
}

Author comment

Began life as a copy of #1001996

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008348
Snippet name: findMultiLineVarDefinition
Eternal ID of this version: #1008348/1
Text MD5: 456d99159034df721e26d80a9379df3a
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-09 14:59:58
Source code size: 221 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 445 / 479
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)