Home | History | Annotate | Download | only in ply

Lines Matching refs:debuglog

3038          debuglog=None, errorlog = None, picklefile=None):
3089 if debuglog is None:
3091 debuglog = PlyLogger(open(debugfile,"w"))
3093 debuglog = NullLogger()
3095 debuglog.info("Created by PLY version %s (http://www.dabeaz.com/ply)", __version__)
3150 debuglog.info("")
3151 debuglog.info("Unused terminals:")
3152 debuglog.info("")
3155 debuglog.info(" %s", term)
3159 debuglog.info("")
3160 debuglog.info("Grammar")
3161 debuglog.info("")
3163 debuglog.info("Rule %-5d %s", n, p)
3181 debuglog.info("")
3182 debuglog.info("Terminals, with rules where they appear")
3183 debuglog.info("")
3187 debuglog.info("%-20s : %s", term, " ".join([str(s) for s in grammar.Terminals[term]]))
3189 debuglog.info("")
3190 debuglog.info("Nonterminals, with rules where they appear")
3191 debuglog.info("")
3195 debuglog.info("%-20s : %s", nonterm, " ".join([str(s) for s in grammar.Nonterminals[nonterm]]))
3196 debuglog.info("")
3220 lr = LRGeneratedTable(grammar,method,debuglog)
3239 debuglog.warning("")
3240 debuglog.warning("Conflicts:")
3241 debuglog.warning("")
3244 debuglog.warning("shift/reduce conflict for %s in state %d resolved as %s", tok, state, resolution)
3250 debuglog.warning("reduce/reduce conflict in state %d resolved using rule (%s)", state, rule)
3251 debuglog.warning("rejected rule (%s) in state %d", rejected,state)
3259 debuglog.warning("Rule (%s) is never reduced", rejected)