Lines Matching refs:dbg
36 def __init__(self, stream, state=None, dbg=None, *args, **kwargs):
39 stream = DebugTokenStream(stream, dbg)
46 self.setDebugListener(dbg)
49 def setDebugListener(self, dbg):
54 if hasattr(self.input, 'dbg'):
55 self.input.dbg = dbg
57 self._dbg = dbg
62 dbg = property(getDebugListener, setDebugListener)
89 def __init__(self, input, dbg=None):
96 self.setDebugListener(dbg)
106 def setDebugListener(self, dbg):
107 self._dbg = dbg
109 dbg = property(getDebugListener, setDebugListener)
180 # TODO: implement seek in dbg interface
215 def __init__(self, dbg, adaptor):
216 self.dbg = dbg
226 self.dbg.createNode(node, payload)
231 self.dbg.createNode(node)
236 self.dbg.createNode(node)
243 dbg.errorNode(node)
259 self.dbg.createNode(t)
263 self.dbg.addChild(t, child)
268 self.dbg.createNode(d)
274 self.dbg.nilNode(node)
292 self.dbg.addChild(t, child)
301 self.dbg.becomeRoot(newRoot, oldRoot)
332 self.dbg.setTokenBoundaries(
388 return dbg
390 def setDebugListener(self, dbg):
391 self.dbg = dbg
403 lots of extra classes and DebugParser has a dbg var defined, which makes