Searched refs:USub (Results 1 - 8 of 8) sorted by relevance
/third_party/python/Include/internal/ |
H A D | pycore_ast.h | 29 typedef enum _unaryop { Invert=1, Not=2, UAdd=3, USub=4 } unaryop_ty; enumerator
|
/third_party/python/Python/ |
H A D | ast_unparse.c | 188 case USub: op = "-"; pr = PR_FACTOR; break; in append_ast_unaryop()
|
H A D | ast_opt.c | 110 [USub] = PyNumber_Negative, in fold_unaryop()
|
H A D | ast.c | 417 if (exp->v.UnaryOp.op != USub) { in ensure_literal_negative()
|
H A D | Python-ast.c | 1604 "unaryop = Invert | Not | UAdd | USub"); in init_types() 1627 state->USub_type = make_type(state, "USub", state->unaryop_type, NULL, 0, in init_types() 1628 "USub"); in init_types() 4815 case USub: in ast2obj_unaryop() 10114 *out = USub; in obj2ast_unaryop() 12186 if (PyModule_AddObjectRef(m, "USub", state->USub_type) < 0) { in astmodule_exec()
|
H A D | compile.c | 4174 case USub: in unaryop()
|
/third_party/python/Lib/ |
H A D | ast.py | 77 if isinstance(node, UnaryOp) and isinstance(node.op, (UAdd, USub)): 1353 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"}
|
/third_party/python/Parser/ |
H A D | parser.c | 8719 _res = _PyAST_UnaryOp ( USub , number , EXTRA ); in signed_number_rule() 8803 _res = _PyAST_UnaryOp ( USub , real , EXTRA ); in signed_real_number_rule() 13445 _res = _PyAST_UnaryOp ( USub , a , EXTRA ); in factor_rule() [all...] |
Completed in 69 milliseconds