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

13
LINES

< > BotCompany Repo | #1018292 // NLLogic_ConstructChecker

JavaX fragment (include)

1  
sclass NLLogic_ConstructChecker extends NLLogicChecker_v3 {
2  
  S construct;
3  
  
4  
  bool checkExpression_impl(Exp e, Matching m) {
5  
    if (e cast Func)
6  
      if (eq(e.name, 'construct)) {
7  
        S pat = e.arg.text();
8  
        ret matcher.match(pat, construct, m.matches);
9  
      }
10  
        
11  
    ret super.checkExpression_impl(e, m);
12  
  }
13  
}

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: 1442 / 1980
Version history: 1 change(s)
Referenced in: [show references]