Lines Matching refs:labels
375 def visitor(node, parent, childIndex, labels): argument
389 def visitor(node, parent, childIndex, labels): argument
403 def visitor(node, parent, childIndex, labels): argument
417 def visitor(node, parent, childIndex, labels): argument
431 def visitor(node, parent, childIndex, labels): argument
445 def visitor(node, parent, childIndex, labels): argument
462 def visitor(node, parent, childIndex, labels): argument
478 def visitor(node, parent, childIndex, labels): argument
495 def visitor(node, parent, childIndex, labels): argument
501 labels['a'],
502 labels['b'],
589 labels = {}
590 valid = wiz.parse(t, "(%a:A %b:B %c:C)", labels)
592 self.failUnlessEqual("A", str(labels["a"]))
593 self.failUnlessEqual("B", str(labels["b"]))
594 self.failUnlessEqual("C", str(labels["c"]))
600 labels = {}
601 valid = wiz.parse(t, "(A %b:. %c:.)", labels)
603 self.failUnlessEqual("B", str(labels["b"]))
604 self.failUnlessEqual("C", str(labels["c"]))
610 labels = {}
611 valid = wiz.parse(t, "(%a:A %b:B[foo] %c:C)", labels)
613 self.failUnlessEqual("A", str(labels["a"]))
614 self.failUnlessEqual("foo", str(labels["b"]))
615 self.failUnlessEqual("C", str(labels["c"]))
621 labels = {}
622 valid = wiz.parse(t, "(%a:A (%b:B %c:C) (%d:D %e:E) )", labels)
624 self.failUnlessEqual("A", str(labels["a"]))
625 self.failUnlessEqual("B", str(labels["b"]))
626 self.failUnlessEqual("C", str(labels["c"]))
627 self.failUnlessEqual("D", str(labels["d"]))
628 self.failUnlessEqual("E", str(labels["e"]))