Home
last modified time | relevance | path

Searched refs:block_items (Results 1 – 9 of 9) sorted by relevance

/external/python/pycparser/tests/
Dtest_c_parser.py172 self.assert_coord(f1_1.ext[0].body.block_items[0], 3, 13, 'test.c')
173 self.assert_coord(f1_1.ext[0].body.block_items[1], 4, 13, 'test.c')
181 self.assert_coord(f1_2.ext[0].body.block_items[0].init, 3, 21, file='test.c')
239 forloop = s.ext[0].body.block_items[0]
513 s1 = compound.block_items[0].init
519 s2 = compound.block_items[1].init
523 s3 = compound.block_items[2].init
553 s1 = compound.block_items[0].init
559 s3 = compound.block_items[2].init
565 s4 = compound.block_items[3].init
[all …]
Dtest_c_ast.py90 block_items=[b1, b2, c1, c2])
113 block_items=[b1, b2, c1, c2])
/external/python/pycparser/pycparser/
Dast_transforms.py78 for child in (switch_node.stmt.block_items or []):
84 new_compound.block_items.append(child)
85 _extract_nested_case(child, new_compound.block_items)
86 last_case = new_compound.block_items[-1]
91 new_compound.block_items.append(child)
Dc_ast.py313 def __init__(self, block_items, coord=None): argument
314 self.block_items = block_items
319 for i, child in enumerate(self.block_items or []):
324 for child in (self.block_items or []):
Dc_generator.py177 if n.block_items:
178 s += ''.join(self._generate_stmt(stmt) for stmt in n.block_items)
D_c_ast.cfg39 Compound: [block_items**]
Dc_parser.py666 block_items=[p[1], p[2]],
1481 block_items=p[2],
/external/python/pycparser/examples/
Dexplore_ast.py123 for_stmt = function_body.block_items[2]
133 while_stmt = for_stmt.stmt.block_items[1]
Drewrite_ast.py26 assign = ast.ext[0].body.block_items[0]