Home | History | Annotate | Download | only in lib2to3

Lines Matching refs:children

76             node = node.children[0] # Avoid unneeded recursion
79 # Skip the odd children since they are just '|' tokens
80 alts = [self.compile_node(ch) for ch in node.children[::2]]
87 units = [self.compile_node(ch) for ch in node.children]
94 pattern = self.compile_basic(node.children[1:])
101 nodes = node.children
115 children = repeat.children
116 child = children[0]
124 assert children[-1].type == token.RBRACE
125 assert len(children) in (3, 5)
126 min = max = self.get_int(children[1])
127 if len(children) == 5:
128 max = self.get_int(children[3])
162 content = [self.compile_node(nodes[1].children[1])]
197 type, value, context, children = raw_node_info
198 if children or type in grammar.number2symbol:
199 return pytree.Node(type, children, context=context)