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

9
LINES

< > BotCompany Repo | #1030230 // jfindIC

JavaX fragment (include)

static int jfindIC(LS tok, S pat) {
  ret jfindIC(tok, jfind_preprocess(javaTok(pat)));
}

// tokPat must be jfind_preprocess'd
static int jfindIC(L<S> tok, L<S> tokPat) {
  S[] toks = toStringArray(codeTokensOnly(tokPat));
  ret findCodeTokens(tok, 0, true, toks);
}

Author comment

Began life as a copy of #1027857

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030230
Snippet name: jfindIC
Eternal ID of this version: #1030230/1
Text MD5: e81ccb6a61fc79c258bc52292da11ada
Author: stefan
Category: javax / tokenizing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-17 22:16:05
Source code size: 275 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 198 / 224
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)