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

10
LINES

< > BotCompany Repo | #1021989 // gazelle_parsePublicRuleOptions

JavaX fragment (include)

1  
// comments: output list
2  
svoid gazelle_parsePublicRuleOptions(S opt, LS comments) {
3  
  new Matches m;
4  
  for (S s : tok_splitAtComma(opt)) {
5  
    if "with *" if (remoteMechListMirror_isPublic($1))
6  
      comments.add("use helper table mech list " + quote($1));
7  
    if "purpose: ..."
8  
      comments.add(s);
9  
  }
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021989
Snippet name: gazelle_parsePublicRuleOptions
Eternal ID of this version: #1021989/2
Text MD5: b7d0dec863f5398e914dda6d0a1d74e3
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-04 17:40:47
Source code size: 316 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 300 / 316
Version history: 1 change(s)
Referenced in: [show references]