Searched refs:MP_PARSE_NODE_IS_STRUCT_KIND (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | compile.c | 261 if (MP_PARSE_NODE_IS_STRUCT_KIND(pn, pn_list_kind)) { in apply_to_single_or_list() 815 if (MP_PARSE_NODE_IS_STRUCT_KIND(parents, PN_classdef_2)) { in compile_classdef_helper() 979 } else if (MP_PARSE_NODE_IS_STRUCT_KIND(pn, PN_atom_paren)) { in c_del_stmt() 1098 if (MP_PARSE_NODE_IS_STRUCT_KIND(pn, PN_dotted_as_name)) { in do_import_name() 1746 if (MP_PARSE_NODE_IS_STRUCT_KIND(nodes[0], PN_with_item)) { in compile_with_stmt_helper() 1853 if (MP_PARSE_NODE_IS_STRUCT_KIND(nodes[0], PN_with_item)) { in compile_async_with_stmt_helper() 2467 assert(MP_PARSE_NODE_IS_STRUCT_KIND(pns->nodes[1], PN_comp_for)); in compile_comprehension() 3026 if (MP_PARSE_NODE_IS_STRUCT_KIND(pn, PN_expr_stmt)) { in check_for_doc_string() 3028 } else if (MP_PARSE_NODE_IS_STRUCT_KIND(pn, PN_file_input_2)) { in check_for_doc_string() 3048 if (MP_PARSE_NODE_IS_STRUCT_KIND(pn, PN_expr_stmt)) { in check_for_doc_string() [all …]
|
A D | parse.c | 334 } else if (MP_PARSE_NODE_IS_STRUCT_KIND(pn, RULE_const_object)) { in mp_parse_node_get_int_maybe() 701 && !(MP_PARSE_NODE_IS_STRUCT_KIND(pn1, RULE_expr_stmt_augassign) in fold_constants() 702 || MP_PARSE_NODE_IS_STRUCT_KIND(pn1, RULE_expr_stmt_assign_list))) { in fold_constants() 706 && MP_PARSE_NODE_IS_STRUCT_KIND(pn1, RULE_atom_expr_normal) in fold_constants() 709 … && MP_PARSE_NODE_IS_STRUCT_KIND(((mp_parse_node_struct_t *)pn1)->nodes[1], RULE_trailer_paren) in fold_constants() 757 && MP_PARSE_NODE_IS_STRUCT_KIND(pn1, RULE_trailer_period))) { in fold_constants() 805 } else if (MP_PARSE_NODE_IS_STRUCT_KIND(pn, RULE_testlist_comp)) { in push_result_rule() 982 || MP_PARSE_NODE_IS_STRUCT_KIND(p, RULE_const_object)) { in mp_parse()
|
A D | parse.h | 66 #define MP_PARSE_NODE_IS_STRUCT_KIND(pn, k) ((pn) != MP_PARSE_NODE_NULL && ((pn) & 3) == 0 && MP_PA… macro
|
A D | emitinlinethumb.c | 251 if (!MP_PARSE_NODE_IS_STRUCT_KIND(pn, PN_atom_brace)) { in get_arg_reglist() 315 if (!MP_PARSE_NODE_IS_STRUCT_KIND(pn, PN_atom_bracket)) { in get_arg_addr() 319 if (!MP_PARSE_NODE_IS_STRUCT_KIND(pns->nodes[0], PN_testlist_comp)) { in get_arg_addr()
|
Completed in 16 milliseconds