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

9
LINES

< > BotCompany Repo | #1017404 // ai_Reconstructed

JavaX fragment (include)

sclass ai_Reconstructed {
  WeightedProduction production;
  AI_BottomUpParser1.Word a, b; // b may be null if it's a subclassing
  
  *(WeightedProduction *production, AI_BottomUpParser1.Word *a, AI_BottomUpParser1.Word *b) {}
  *(WeightedProduction *production, AI_BottomUpParser1.Word *a) {}
  
  toString { ret sfu(production) + " - " + a.text() + (b == null ? "" : " + " + b.text()); }
}

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: #1017404
Snippet name: ai_Reconstructed
Eternal ID of this version: #1017404/1
Text MD5: bbe667104fd02afe3a35404ed94e5500
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-19 19:39:13
Source code size: 400 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 411 / 960
Referenced in: [show references]