Searched refs:pns (Results 1 – 4 of 4) sorted by relevance
542 pns = (mp_parse_node_struct_t *)pns->nodes[0]; in c_assign()556 pns = (mp_parse_node_struct_t *)pns->nodes[0]; in c_assign()1082 pns = (mp_parse_node_struct_t *)pns->nodes[0]; in compile_raise_stmt()2156 compile_namedexpr_helper(comp, pns->nodes[0], pns->nodes[1]); in compile_namedexpr()2496 pns = (mp_parse_node_struct_t *)pns->nodes[0]; in compile_atom_paren()2687 pns = (mp_parse_node_struct_t *)pns->nodes[1]; in compile_subscript()2715 pns = (mp_parse_node_struct_t *)pns->nodes[1]; in compile_subscript()2760 pns = (mp_parse_node_struct_t *)pns->nodes[0]; in compile_yield_expr()2784 return (uint64_t)pns->nodes[0] | ((uint64_t)pns->nodes[1] << 32); in get_const_object()2943 pns = (mp_parse_node_struct_t *)pns->nodes[0]; in compile_scope_func_lambda_param()[all …]
76 #define MP_PARSE_NODE_STRUCT_KIND(pns) ((pns)->kind_num_nodes & 0xff) argument77 #define MP_PARSE_NODE_STRUCT_NUM_NODES(pns) ((pns)->kind_num_nodes >> 8) argument
255 mp_parse_node_struct_t *pns = (mp_parse_node_struct_t *)pn; in get_arg_reglist() local256 assert(MP_PARSE_NODE_STRUCT_NUM_NODES(pns) == 1); // should always be in get_arg_reglist()257 pn = pns->nodes[0]; in get_arg_reglist()265 pns = (mp_parse_node_struct_t *)pn; in get_arg_reglist()266 if (MP_PARSE_NODE_STRUCT_KIND(pns) == PN_dictorsetmaker) { in get_arg_reglist()273 reglist |= 1 << get_arg_reg(emit, op, pns->nodes[0], 15); in get_arg_reglist()318 mp_parse_node_struct_t *pns = (mp_parse_node_struct_t *)pn; in get_arg_addr() local322 pns = (mp_parse_node_struct_t *)pns->nodes[0]; in get_arg_addr()323 if (MP_PARSE_NODE_STRUCT_NUM_NODES(pns) != 2) { in get_arg_addr()327 *pn_base = pns->nodes[0]; in get_arg_addr()[all …]
335 mp_parse_node_struct_t *pns = (mp_parse_node_struct_t *)pn; in mp_parse_node_get_int_maybe() local338 *o = (uint64_t)pns->nodes[0] | ((uint64_t)pns->nodes[1] << 32); in mp_parse_node_get_int_maybe()340 *o = (mp_obj_t)pns->nodes[0]; in mp_parse_node_get_int_maybe()357 if (MP_PARSE_NODE_STRUCT_KIND(pns) != pn_kind) { in mp_parse_node_extract_list()361 *nodes = pns->nodes; in mp_parse_node_extract_list()362 return MP_PARSE_NODE_STRUCT_NUM_NODES(pns); in mp_parse_node_extract_list()401 mp_parse_node_struct_t *pns = (mp_parse_node_struct_t *)pn; in mp_parse_node_print() local402 if (MP_PARSE_NODE_STRUCT_KIND(pns) == RULE_const_object) { in mp_parse_node_print()404 …mp_printf(print, "literal const(%016llx)\n", (uint64_t)pns->nodes[0] | ((uint64_t)pns->nodes[1] <<… in mp_parse_node_print()409 size_t n = MP_PARSE_NODE_STRUCT_NUM_NODES(pns); in mp_parse_node_print()[all …]
Completed in 19 milliseconds