Lines Matching defs:debug

83 resultlimit = 40               # Size limit of results when running in debug mode.
120 def debug(self,msg,*args,**kwargs):
122 info = debug
130 critical = debug
142 # Format the result message that the parser produces when running in debug mode.
152 # Format stack entries when the parser is running in debug mode
257 def parse(self,input=None,lexer=None,debug=0,tracking=0,tokenfunc=None):
258 if debug or yaccdevel:
259 if isinstance(debug,int):
260 debug = PlyLogger(sys.stderr)
261 return self.parsedebug(input,lexer,debug,tracking,tokenfunc)
263 return self.parseopt(input,lexer,debug,tracking,tokenfunc)
265 return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
282 def parsedebug(self,input=None,lexer=None,debug=None,tracking=0,tokenfunc=None):
292 debug.info("PLY: PARSE DEBUG START")
337 debug.debug('')
338 debug.debug('State : %s', state)
351 debug.debug('Stack : %s',
366 debug.debug("Action : Shift and goto state %s", t)
389 debug.info("Action : Reduce rule [%s] with %s and goto state %d", p.str, "["+",".join([format_stack_entry(_v.value) for _v in symstack[-plen:]])+"]",-t)
391 debug.info("Action : Reduce rule [%s] with %s and goto state %d", p.str, [],-t)
423 debug.info("Result : %s", format_result(pslice[0]))
462 debug.info("Result : %s", format_result(pslice[0]))
484 debug.info("Done : Returning %s", format_result(result))
485 debug.info("PLY: PARSE DEBUG END")
492 debug.error('Error : %s',
592 # Edit the debug version above, then copy any modifications to the method
597 def parseopt(self,input=None,lexer=None,debug=0,tracking=0,tokenfunc=None):
869 def parseopt_notrack(self,input=None,lexer=None,debug=0,tracking=0,tokenfunc=None):
2513 log.debug(" ! %-15s [ %s ]",a,m)
2517 log.debug("")
3036 def yacc(method='LALR', debug=yaccdebug, module=None, tabmodule=tab_module, start=None,
3090 if debug:
3157 # Print out all productions to the debug log
3158 if debug:
3180 if debug:
3217 if debug:
3218 errorlog.debug("Generating %s tables", method)
3222 if debug:
3238 if debug and (lr.sr_conflicts or lr.rr_conflicts):