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

5
LINES

< > BotCompany Repo | #1004742 // callLuaStrategy

JavaX fragment (include)

static S callLuaStrategy(LuaValue strategy, S text) {
  LuaValue result = strategy.call(text);
  assertTrue(result.isstring());
  ret result.tojstring();
}

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: #1004742
Snippet name: callLuaStrategy
Eternal ID of this version: #1004742/1
Text MD5: 771424633990fbf6637df8580c992567
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-28 16:42:44
Source code size: 159 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 439 / 457
Referenced in: [show references]