Lines Matching refs:children
75 node = node.children[0] # Avoid unneeded recursion
78 # Skip the odd children since they are just '|' tokens
79 alts = [self.compile_node(ch) for ch in node.children[::2]]
86 units = [self.compile_node(ch) for ch in node.children]
93 pattern = self.compile_basic(node.children[1:])
100 nodes = node.children
114 children = repeat.children
115 child = children[0]
123 assert children[-1].type == token.RBRACE
124 assert len(children) in (3, 5)
125 min = max = self.get_int(children[1])
126 if len(children) == 5:
127 max = self.get_int(children[3])
161 content = [self.compile_node(nodes[1].children[1])]
196 type, value, context, children = raw_node_info
197 if children or type in grammar.number2symbol:
198 return pytree.Node(type, children, context=context)