1 | static WebNode web_findNodeWithForwardRelations(Web web, S name, O... params) {
|
2 | search: for (WebNode node : web_nodesNamed(web, name)) {
|
3 | for (int i = 0; i < l(params); i += 2) {
|
4 | S rel = cast params[i]; |
5 | S target = cast params[i+1]; |
6 | if (!web_hasForwardRelation(node, rel, target)) |
7 | continue search; |
8 | } |
9 | ret node; |
10 | } |
11 | null; |
12 | } |
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: | #1010217 |
| Snippet name: | web_findNodeWithForwardRelations |
| Eternal ID of this version: | #1010217/2 |
| Text MD5: | 51089c6c0b0227dd525a5bfd20205b18 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-06 21:19:23 |
| Source code size: | 372 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 736 / 745 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |