Lines Matching refs:rule

52 static void handle_action_dollar (symbol_list *rule, char *cp,
54 static void handle_action_at (symbol_list *rule, char *cp, location at_loc);
202 handle_action_dollar (self->rule, yytext, *loc);
209 handle_action_at (self->rule, yytext, *loc);
500 parse_ref (char *cp, symbol_list *rule, int rule_length, in parse_ref() argument
558 for (symbol_index = 0, l = rule; !symbol_list_null (l); in parse_ref()
627 complain_at_indent (rule->location, &indent, format, in parse_ref()
634 complain_at_indent (rule->location, &indent, format, in parse_ref()
715 handle_action_dollar (symbol_list *rule, char *text, location dollar_loc) in handle_action_dollar() argument
723 if (rule->midrule_parent_rule) in handle_action_dollar()
725 effective_rule = rule->midrule_parent_rule; in handle_action_dollar()
726 effective_rule_length = rule->midrule_parent_rhs_index - 1; in handle_action_dollar()
730 effective_rule = rule; in handle_action_dollar()
731 effective_rule_length = symbol_list_length (rule->next); in handle_action_dollar()
738 rule->midrule_parent_rhs_index, text, dollar_loc, '$'); in handle_action_dollar()
751 type_name = symbol_list_n_type_name_get (rule, dollar_loc, 0); in handle_action_dollar()
757 if (rule->midrule_parent_rule) in handle_action_dollar()
761 rule->midrule_parent_rhs_index, in handle_action_dollar()
765 quote (rule->content.sym->tag)); in handle_action_dollar()
774 rule->action_props.is_value_used = true; in handle_action_dollar()
810 handle_action_at (symbol_list *rule, char *text, location at_loc) in handle_action_at() argument
817 if (rule->midrule_parent_rule) in handle_action_at()
819 effective_rule = rule->midrule_parent_rule; in handle_action_at()
820 effective_rule_length = rule->midrule_parent_rhs_index - 1; in handle_action_at()
824 effective_rule = rule; in handle_action_at()
825 effective_rule_length = symbol_list_length (rule->next); in handle_action_at()
831 rule->midrule_parent_rhs_index, text, at_loc, '@'); in handle_action_at()
896 self->rule = NULL; in code_props_plain_init()
908 self->rule = NULL; in code_props_symbol_action_init()
914 location code_loc, symbol_list *rule, in code_props_rule_action_init() argument
921 self->rule = rule; in code_props_rule_action_init()