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

10
LINES

< > BotCompany Repo | #1008880 // ctxRuleLinkToFileName [abandoned]

JavaX fragment (include)

1  
static S ctxRuleLinkToFileName(WoodyBot bot, S ruleLink) {
2  
  new Matches m;
3  
  if (!startsWith(ruleLink, "Agent#Agent.", m))
4  
    fail("Unknown rule link: " + ruleLink);
5  
  L<S> parts = splitAtDot($1);
6  
  S folder = "Agent";
7  
  for (S part : parts) {
8  
    folder.
9  
  }
10  
}

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: #1008880
Snippet name: ctxRuleLinkToFileName [abandoned]
Eternal ID of this version: #1008880/1
Text MD5: bea219db715a7138a7643d9420dfbaa2
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-15 17:58:23
Source code size: 272 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 519 / 509
Referenced in: [show references]