Lines Matching refs:CppExpr
956 class CppExpr: class
1086 m = CppExpr.re_cpp_constant.match(t.id)
1220 if t.id in CppExpr.unaries:
1244 if t.id in CppExpr.binaries:
1278 elif op in CppExpr.unaries:
1280 elif op in CppExpr.binaries:
1302 prec = CppExpr.precedences.get(op,1000)
1304 if op in CppExpr.unaries:
1307 arg_prec = CppExpr.precedences.get(arg[0],1000)
1312 if op in CppExpr.binaries:
1318 if CppExpr.precedences.get(arg1_op,1000) < prec:
1320 if CppExpr.precedences.get(arg2_op,1000) < prec:
1405 elif op in CppExpr.unaries:
1409 elif op in CppExpr.binaries:
1440 e = CppExpr( CppLineTokenizer( expr ).toTokenList() )
1450 e = CppExpr( CppLineTokenizer( expr ).toTokenList() )
1461 e = CppExpr( CppLineTokenizer( expr ).toTokenList() )
1564 self.expr = CppExpr( self.tokens )
2165 blocks[j].expr = CppExpr( CppLineTokenizer("1").toTokenList() )
2192 blocks[k].expr = CppExpr( CppLineTokenizer("0").toTokenList() )
2198 blocks[k].expr = CppExpr( CppLineTokenizer("0").toTokenList() )