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

13
LINES

< > BotCompany Repo | #1008980 // parse1_debug - uses bottom-up parser

JavaX fragment (include)

static O parse1_debug_parser;

static O parse1_debug(S text, S rules) {
  ret parse1_debug(javaTok(text), rules);
}

// only parse, no explain
static synchronized O parse1_debug(L<S> tok, S rules) {
  if (parse1_debug_parser == null)
    parse1_debug_parser = run_overBot(#1002719);
  setOpt(parse1_debug_parser, "debug", true);
  ret call(parse1_debug_parser, "parse", tok, rules);
}

Author comment

Began life as a copy of #1002684

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: #1008980
Snippet name: parse1_debug - uses bottom-up parser
Eternal ID of this version: #1008980/1
Text MD5: 32b4c62fae330fc9a006494bed0de645
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-21 19:10:33
Source code size: 396 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 463 / 530
Referenced in: [show references]