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

6
LINES

< > BotCompany Repo | #1028603 // pwt_toTheLeftOf

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

Libraryless. Click here for Pure Java version (2868L/18K).

static <A> ItIt<ParsedWithTokens<A>> pwt_toTheLeftOf(Iterable<ParsedWithTokens<A>> l, ParsedWithTokens b) {
  ret filterI(iterator(l), p -> {
    //print("ttlo: " + p.iRemaining + " / " + b.iStart);
    ret (p.iRemaining | 1) == (b.iStart | 1);
  });
}

Author comment

Began life as a copy of #1028597

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028603
Snippet name: pwt_toTheLeftOf
Eternal ID of this version: #1028603/1
Text MD5: 22713d252db2cf535c86d2276ef0cba9
Transpilation MD5: 7800a2ef909f880eebf0439e3e7246fd
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-28 15:49:51
Source code size: 257 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 88 / 152
Referenced in: [show references]