1 | static PTElement ai_parseBottomUpToTree_as(S input, S category) { |
2 | final new AI_BottomUpParser1 parser; |
3 | parser.parse(input); |
4 | AI_BottomUpParser1.Word w = parser.fullGroup(); |
5 | if (w == null) null; |
6 | if (!contains(w.classes, category)) null; |
7 | ret ai_completeParseTree(parser, HaveCategory(w, category)); |
8 | } |
Began life as a copy of #1017403
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017449 |
Snippet name: | ai_parseBottomUpToTree_as - with fixed top category |
Eternal ID of this version: | #1017449/1 |
Text MD5: | f44a5477194ca0dc2a6e6a5fb316a359 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-22 12:38:03 |
Source code size: | 316 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 346 / 383 |
Referenced in: | [show references] |