Lines Matching refs:NodeName
40 self.assertEqual('LPAR', pytree_utils.NodeName(leaf))
45 self.assertEqual('suite', pytree_utils.NodeName(node))
54 self.assertEqual('file_input', pytree_utils.NodeName(tree))
56 self.assertEqual('simple_stmt', pytree_utils.NodeName(tree.children[0]))
61 self.assertEqual('file_input', pytree_utils.NodeName(tree))
63 self.assertEqual('simple_stmt', pytree_utils.NodeName(tree.children[0]))
67 self.assertEqual('file_input', pytree_utils.NodeName(tree))
69 self.assertEqual('simple_stmt', pytree_utils.NodeName(tree.children[0]))
73 self.assertEqual('file_input', pytree_utils.NodeName(tree))
75 self.assertEqual('classdef', pytree_utils.NodeName(tree.children[0]))
109 pytree_utils.NodeName(self._simple_tree.children[2]))
111 pytree_utils.NodeName(self._simple_tree.children[3]))
120 self.assertEqual('RPAR', pytree_utils.NodeName(simple_stmt.children[0]))
121 self.assertEqual('NAME', pytree_utils.NodeName(simple_stmt.children[1]))
129 pytree_utils.NodeName(self._simple_tree.children[2]))
131 pytree_utils.NodeName(self._simple_tree.children[3]))
140 self.assertEqual('NAME', pytree_utils.NodeName(simple_stmt.children[0]))
141 self.assertEqual('RPAR', pytree_utils.NodeName(simple_stmt.children[1]))