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

8
LINES

< > BotCompany Repo | #1011616 // ai_spec_numbered

JavaX fragment (include)

static void ai_spec_numbered(S s) {
  L<S> l = javaTokC(s);
  if (l(l) > 1 && isInteger(last(l))) {
    S type = a(dropLastJavaToken(s));
    if (!has(s, "is", type))
      post(s, "probably is", type);
  }
}

Author comment

Began life as a copy of #1011590

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: #1011616
Snippet name: ai_spec_numbered
Eternal ID of this version: #1011616/4
Text MD5: 96dd3618698ec5ff0d65c30cb0fcbfc3
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-23 15:03:11
Source code size: 215 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 393 / 430
Version history: 3 change(s)
Referenced in: [show references]