Lines Matching refs:CppExpr
370 class CppExpr(object): class
660 elif op in CppExpr.unaries:
662 elif op in CppExpr.binaries:
686 prec = CppExpr.precedences.get(op, 1000)
688 if op in CppExpr.unaries:
691 arg_prec = CppExpr.precedences.get(arg_op, 1000)
696 if op in CppExpr.binaries:
702 if CppExpr.precedences.get(arg1_op, 1000) < prec:
704 if CppExpr.precedences.get(arg2_op, 1000) < prec:
814 return repr(CppExpr(CppStringTokenizer(expr).tokens))
846 e = CppExpr(CppStringTokenizer(expr).tokens)
923 return str(CppExpr(CppStringTokenizer(expr).tokens))
994 self.expr = CppExpr(self.tokens)
1489 b.expr = CppExpr(b.tokens)
1781 blocks[j].expr = CppExpr(CppStringTokenizer("1").tokens)
1828 blocks[k].expr = CppExpr(CppStringTokenizer("0").tokens)
1835 blocks[k].expr = CppExpr(CppStringTokenizer("0").tokens)