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

13
LINES

< > BotCompany Repo | #1018292 // NLLogic_ConstructChecker

JavaX fragment (include)

sclass NLLogic_ConstructChecker extends NLLogicChecker_v3 {
  S construct;
  
  bool checkExpression_impl(Exp e, Matching m) {
    if (e cast Func)
      if (eq(e.name, 'construct)) {
        S pat = e.arg.text();
        ret matcher.match(pat, construct, m.matches);
      }
        
    ret super.checkExpression_impl(e, m);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018292
Snippet name: NLLogic_ConstructChecker
Eternal ID of this version: #1018292/2
Text MD5: 4d6ecaf85fadc3945e36284d6b511dbe
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-15 23:33:45
Source code size: 344 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 1387 / 1913
Version history: 1 change(s)
Referenced in: [show references]