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

7
LINES

< > BotCompany Repo | #1015570 // lastIdentifier

JavaX fragment (include)

static S lastIdentifier(L<S> l) {
  for (int i = l(l)-1; i >= 0; i--) {
    S t = l.get(i);
    if (isIdentifier(t)) ret t;
  }
  null;
}

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: #1015570
Snippet name: lastIdentifier
Eternal ID of this version: #1015570/1
Text MD5: fcbe6fb17d2e37b56008f0a900335f42
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-17 22:05:43
Source code size: 143 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 516 / 530
Referenced in: [show references]