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

7
LINES

< > BotCompany Repo | #1017295 // ai_matchAngleBracketPattern_toParseResults

JavaX fragment (include)

static void ai_matchAngleBracketPattern_toParseResults(L<S> pat, L<S> input, L<ParseResult1> results) {
  L<PairS> match = uniquify(dropTwinPairsIC(zipTwoListsToPairs_ifSameLength(pat, input)));
  if (match != null) {
    Pair<LPairS> yesNo = filterAntiFilter(f parsing_checkMatchPairUsingMechList, match);
    results.add(ParseResult1(pat, input, yesNo.a, yesNo.b));
  }
}

Author comment

Began life as a copy of #1017285

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017295
Snippet name: ai_matchAngleBracketPattern_toParseResults
Eternal ID of this version: #1017295/3
Text MD5: b7412f4ce621e838606af3cfb751fdef
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-16 15:11:12
Source code size: 379 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 362 / 406
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017308 - ai_matchAngleBracketPattern_spread_toParseResults