Searched refs:block_items (Results 1 – 9 of 9) sorted by relevance
/external/python/pycparser/tests/ |
D | test_c_parser.py | 172 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 …]
|
D | test_c_ast.py | 90 block_items=[b1, b2, c1, c2]) 113 block_items=[b1, b2, c1, c2])
|
/external/python/pycparser/pycparser/ |
D | ast_transforms.py | 78 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)
|
D | c_ast.py | 313 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 []):
|
D | c_generator.py | 177 if n.block_items: 178 s += ''.join(self._generate_stmt(stmt) for stmt in n.block_items)
|
D | _c_ast.cfg | 39 Compound: [block_items**]
|
D | c_parser.py | 666 block_items=[p[1], p[2]], 1481 block_items=p[2],
|
/external/python/pycparser/examples/ |
D | explore_ast.py | 123 for_stmt = function_body.block_items[2] 133 while_stmt = for_stmt.stmt.block_items[1]
|
D | rewrite_ast.py | 26 assign = ast.ext[0].body.block_items[0]
|