• Home
  • Raw
  • Download

Lines Matching refs:assertIsInstance

122         self.assertIsInstance(t, FileAST)
127 self.assertIsInstance(t2, FileAST)
133 self.assertIsInstance(t, FileAST)
496 self.assertIsInstance(pdecl, PtrDecl)
514 self.assertIsInstance(s1, UnaryOp)
516 self.assertIsInstance(s1.expr, ID)
554 self.assertIsInstance(s1, FuncCall)
555 self.assertIsInstance(s1.name, ID)
557 self.assertIsInstance(s1.args.exprs[0], Typename)
558 self.assertIsInstance(s1.args.exprs[1], ID)
560 self.assertIsInstance(s3.args.exprs[1], StructRef)
566 self.assertIsInstance(s4.args.exprs[1], ArrayRef)
582 self.assertIsInstance(compound, Compound)
612 self.assertIsInstance(e1_type, Enum)
619 self.assertIsInstance(e2_type, Enum)
623 self.assertIsInstance(e2_elist, EnumeratorList)
626 self.assertIsInstance(e2_eval, Enumerator)
644 self.assertIsInstance(e3_type, Enum)
646 self.assertIsInstance(e3_elist, EnumeratorList)
649 self.assertIsInstance(e3_eval, Enumerator)
1162 self.assertIsInstance(s3_type, Enum)
1488 self.assertIsInstance(ps2.ext[0].body.block_items[1].type.dim, Assignment)
1489 self.assertIsInstance(ps2.ext[0].body.block_items[2].type.dim, ID)
1508 self.assertIsInstance(s1_ast.ext[0], Pragma)
1512 self.assertIsInstance(s1_ast.ext[1].body.block_items[0], Pragma)
1516 self.assertIsInstance(s1_ast.ext[1].body.block_items[2], Pragma)
1520 self.assertIsInstance(s1_ast.ext[1].body.block_items[4], Pragma)
1524 self.assertIsInstance(s1_ast.ext[2].type.type.decls[0], Pragma)
1555 self.assertIsInstance(s1_ast.ext[0].body.block_items[1], For)
1556 self.assertIsInstance(s1_ast.ext[0].body.block_items[1].stmt, Compound)
1557 self.assertIsInstance(s1_ast.ext[0].body.block_items[1].stmt.block_items[0], Pragma)
1558 self.assertIsInstance(s1_ast.ext[0].body.block_items[1].stmt.block_items[1], Assignment)
1559 self.assertIsInstance(s1_ast.ext[0].body.block_items[2], While)
1560 self.assertIsInstance(s1_ast.ext[0].body.block_items[2].stmt, Compound)
1561 self.assertIsInstance(s1_ast.ext[0].body.block_items[2].stmt.block_items[0], Pragma)
1562 self.assertIsInstance(s1_ast.ext[0].body.block_items[2].stmt.block_items[1], Assignment)
1563 self.assertIsInstance(s1_ast.ext[0].body.block_items[3], Label)
1564 self.assertIsInstance(s1_ast.ext[0].body.block_items[3].stmt, Compound)
1565 self.assertIsInstance(s1_ast.ext[0].body.block_items[3].stmt.block_items[0], Pragma)
1566 self.assertIsInstance(s1_ast.ext[0].body.block_items[3].stmt.block_items[1], Assignment)
1567 self.assertIsInstance(s1_ast.ext[0].body.block_items[4], If)
1568 self.assertIsInstance(s1_ast.ext[0].body.block_items[4].iftrue, Compound)
1569 self.assertIsInstance(s1_ast.ext[0].body.block_items[4].iftrue.block_items[0], Pragma)
1570 self.assertIsInstance(s1_ast.ext[0].body.block_items[4].iftrue.block_items[1], Assignment)
1571 self.assertIsInstance(s1_ast.ext[0].body.block_items[5], Switch)
1572 self.assertIsInstance(s1_ast.ext[0].body.block_items[5].stmt.stmts[0], Compound)
1573 self.assertIsInstance(s1_ast.ext[0].body.block_items[5].stmt.stmts[0].block_items[0],
1575 self.assertIsInstance(s1_ast.ext[0].body.block_items[5].stmt.stmts[0].block_items[1],
1792 self.assertIsInstance(node, Case)
1793 self.assertIsInstance(node.expr, Constant)
1797 self.assertIsInstance(node, Default)
1949 self.assertIsInstance(p.ext[0], Typedef)
1953 self.assertIsInstance(p.ext[-1], FuncDef)
1957 self.assertIsInstance(p.ext[-8], Typedef)
1958 self.assertIsInstance(p.ext[-8].type, TypeDecl)
1988 self.assertIsInstance(self.parse(s2), FileAST)
2220 self.assertIsInstance(self.parse(s1), FileAST)