Lines Matching refs:record
743 Subclasses can override the record() method (which defaults to printing to
744 stdout) to record the events in a different way.
754 def record(self, event):
758 self.record("enterRule " + ruleName)
761 self.record("exitRule " + ruleName)
764 self.record("enterSubRule")
767 self.record("exitSubRule")
770 self.record("location {}:{}".format(line, pos))
775 self.record("consumeNode {} {} {}".format(
781 self.record("LT {} {} {} {}".format(
790 self.record("nilNode {}".format(self.adaptor.getUniqueID(t)))
794 self.record("create {}: {}, {}".format(
800 self.record("create {}: {}".format(
805 self.record("becomeRoot {}, {}".format(
810 self.record("addChild {}, {}".format(
815 self.record("setTokenBoundaries {}, {}, {}".format(
828 def record(self, event):