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

11
LINES

< > BotCompany Repo | #1003151 // Test flexMatch with matches

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2185L/14K/47K).

!752

p {
  new Matches m;
  flexMatch_debug = true;
  assertTrue(flexMatch("if * then *", "if a b then c(d)", m));
  printStructure(m);
  assertEquals("a b", m.get(0));
  assertEquals("c(d)", m.get(1));
  print("OK");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003151
Snippet name: Test flexMatch with matches
Eternal ID of this version: #1003151/2
Text MD5: eda8268c7030b83ef80a1d5fc6bf6478
Transpilation MD5: ab8f05cf54f0386d22f8cbcdaf599ae1
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-17 16:29:22
Source code size: 230 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 490 / 574
Version history: 1 change(s)
Referenced in: [show references]