1 | static Web ai_getWebFromTerm(S s) { |
2 | if (possibleGlobalID(s)) { |
3 | Web web = ai_getWeb(s); |
4 | if (web != null) ret web; |
5 | } |
6 | new Matches m; |
7 | if (swic(s, "Web ", m)) |
8 | ret ai_getWeb(m.rest()); |
9 | null; |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012027 |
Snippet name: | ai_getWebFromTerm - accepts "<id>" and "Web <id>" |
Eternal ID of this version: | #1012027/2 |
Text MD5: | 7a37aa5b8bd46d6b9c30a3864f77fe7d |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-16 05:59:29 |
Source code size: | 217 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 584 / 588 |
Version history: | 1 change(s) |
Referenced in: | [show references] |