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

7
LINES

< > BotCompany Repo | #1020677 // indexOfFirstVerbOrPastParticiple

JavaX fragment (include)

1  
static int indexOfFirstVerbOrPastParticiple(L<S> tok, int i) {
2  
  ret indexOfAny(tok, i, combinedCollection(knownVerbs(), mechSetCI("Past Participles")));
3  
}
4  
5  
static int indexOfFirstVerbOrPastParticiple(L<S> tok) {
6  
  ret indexOfFirstVerbOrPastParticiple(tok, 0);
7  
}

Author comment

Began life as a copy of #1011063

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020677
Snippet name: indexOfFirstVerbOrPastParticiple
Eternal ID of this version: #1020677/1
Text MD5: 0c9f84eaacde37352d395ceacd801197
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-30 18:34:58
Source code size: 268 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 321 / 356
Referenced in: [show references]