Go to the source code of this file.
|
|
Definition at line 1813 of file parser.c. References action, and action_struct::next. Referenced by parse_production(). |
|
||||||||||||
|
Definition at line 550 of file parser.c. References three_field_tests_struct::attr_test, condition, copy_of_equality_test_found_in_test(), copy_test(), condition_struct::data, deallocate_test(), condition_struct::condition_main_data_union::ncc, condition_struct::next, test, condition_struct::condition_main_data_union::tests, ncc_info_struct::top, and condition_struct::type. Referenced by parse_attr_value_tests(). |
|
||||||||||||
|
Definition at line 513 of file parser.c. References condition, copy_of_equality_test_found_in_test(), copy_test(), condition_struct::data, deallocate_test(), three_field_tests_struct::id_test, condition_struct::condition_main_data_union::ncc, condition_struct::next, test, condition_struct::condition_main_data_union::tests, ncc_info_struct::top, and condition_struct::type. Referenced by parse_attr_value_tests(), and parse_conds_for_one_id(). |
|
|
Definition at line 1276 of file parser.c. References AMPERSAND_LEXEME, AT_LEXEME, EQUAL_LEXEME, EXCLAMATION_POINT_LEXEME, GREATER_LEXEME, LESS_LEXEME, MINUS_LEXEME, PLUS_LEXEME, and TILDE_LEXEME. Referenced by parse_preference_specifier_without_referent(). |
|
|
Definition at line 81 of file parser.c. References variable_struct::current_binding_value, make_variable(), placeholder_counter, Symbol, test, tolower(), and symbol_union::var. Referenced by parse_attr_value_tests(), parse_head_of_conds_for_one_id(), parse_tail_of_conds_for_one_id(), and parse_value_test_star(). |
|
|
Definition at line 269 of file parser.c. References abort_with_fatal_error(), FLOAT_CONSTANT_LEXEME, IDENTIFIER_LEXEME, INT_CONSTANT_LEXEME, make_float_constant(), make_int_constant(), make_sym_constant(), make_variable(), SYM_CONSTANT_LEXEME, Symbol, and VARIABLE_LEXEME. Referenced by parse_disjunction_test(), parse_relational_test(), parse_rhs_value(), and read_wme_filter_component(). |
|
|
Definition at line 597 of file parser.c. References ncc_info_struct::bottom, condition, condition_struct::data, condition_struct::condition_main_data_union::ncc, condition_struct::next, condition_struct::prev, ncc_info_struct::top, and condition_struct::type. Referenced by parse_attr_value_tests(), and parse_cond(). |
|
|
|
|
Definition at line 997 of file parser.c. References condition, deallocate_condition_list(), get_lexeme(), L_BRACE_LEXEME, MINUS_LEXEME, negate_condition_list(), parse_cond_plus(), parse_conds_for_one_id(), print(), print_location_of_most_recent_lexeme(), and R_BRACE_LEXEME. Referenced by parse_cond_plus(). |
|
|
Definition at line 1043 of file parser.c. References condition, deallocate_condition_list(), L_BRACE_LEXEME, L_PAREN_LEXEME, MINUS_LEXEME, condition_struct::next, parse_cond(), and condition_struct::prev. Referenced by parse_cond(), and parse_lhs(). |
|
||||||||||||
|
Definition at line 957 of file parser.c. References condition, copy_of_equality_test_found_in_test(), deallocate_test(), fill_in_id_tests(), parse_head_of_conds_for_one_id(), parse_tail_of_conds_for_one_id(), and test. Referenced by parse_cond(), and parse_value_test_star(). |
|
|
|
|
Definition at line 819 of file parser.c. References add_new_test_to_test(), complex_test, copy_of_equality_test_found_in_test(), deallocate_test(), get_lexeme(), L_PAREN_LEXEME, make_placeholder_test(), MINUS_LEXEME, parse_test(), print(), print_location_of_most_recent_lexeme(), print_with_symbols(), R_PAREN_LEXEME, SYM_CONSTANT_LEXEME, Symbol, test, test_includes_equality_test_for_symbol(), complex_test_struct::type, and UP_ARROW_LEXEME. Referenced by parse_conds_for_one_id(). |
|
|
Definition at line 1075 of file parser.c. References condition, and parse_cond_plus(). Referenced by parse_production(), and read_pattern_and_get_matching_productions(). |
|
|
Definition at line 1326 of file parser.c. References AMPERSAND_LEXEME, AT_LEXEME, byte, COMMA_LEXEME, EQUAL_LEXEME, EXCLAMATION_POINT_LEXEME, get_lexeme(), GREATER_LEXEME, is_preference_lexeme(), LESS_LEXEME, MINUS_LEXEME, PLUS_LEXEME, R_PAREN_LEXEME, TILDE_LEXEME, and UP_ARROW_LEXEME. Referenced by parse_preferences(), and parse_preferences_soar8_non_operator(). |
|
||||||||||||||||
|
Definition at line 1433 of file parser.c. References action, byte, COMMA_LEXEME, copy_rhs_value(), deallocate_action_list(), get_lexeme(), action_struct::next, parse_preference_specifier_without_referent(), parse_rhs_value(), PLUS_LEXEME, rhs_value, Symbol, and action_struct::type. Referenced by parse_attr_value_make(). |
|
||||||||||||||||
|
Definition at line 1520 of file parser.c. References action, byte, COMMA_LEXEME, copy_rhs_value(), deallocate_action_list(), get_lexeme(), action_struct::next, parse_preference_specifier_without_referent(), PLUS_LEXEME, print(), print_location_of_most_recent_lexeme(), print_with_symbols(), rhs_value, Symbol, and action_struct::type. Referenced by parse_attr_value_make(). |
|
|
|
|
Definition at line 1780 of file parser.c. References action, deallocate_action_list(), action_struct::next, parse_rhs_action(), and R_PAREN_LEXEME. Referenced by parse_production(), and read_rhs_pattern_and_get_matching_productions(). |
|
|
Definition at line 1727 of file parser.c. References action, deallocate_action_list(), get_lexeme(), L_PAREN_LEXEME, make_variable(), action_struct::next, parse_attr_value_make(), parse_function_call_after_lparen(), print(), print_location_of_most_recent_lexeme(), R_PAREN_LEXEME, rhs_value, Symbol, action_struct::type, action_struct::value, and VARIABLE_LEXEME. Referenced by parse_rhs(). |
|
|
Definition at line 1248 of file parser.c. References FLOAT_CONSTANT_LEXEME, get_lexeme(), INT_CONSTANT_LEXEME, L_PAREN_LEXEME, make_symbol_for_current_lexeme(), parse_function_call_after_lparen(), print(), print_location_of_most_recent_lexeme(), rhs_value, SYM_CONSTANT_LEXEME, and VARIABLE_LEXEME. Referenced by parse_attr_value_make(), parse_function_call_after_lparen(), and parse_preferences(). |
|
|
Definition at line 448 of file parser.c. References LESS_LESS_LEXEME, parse_disjunction_test(), parse_relational_test(), and test. Referenced by parse_test(). |
|
|
|
Definition at line 462 of file parser.c. References add_new_test_to_test(), complex_test, complex_test_struct::test_info_union::conjunct_list, complex_test_struct::data, deallocate_test(), destructively_reverse_list(), get_lexeme(), L_BRACE_LEXEME, parse_simple_test(), R_BRACE_LEXEME, test, and complex_test_struct::type. Referenced by parse_attr_value_tests(), parse_head_of_conds_for_one_id(), and parse_value_test_star(). |
|
|
|
Definition at line 66 of file parser.c. References placeholder_counter. Referenced by parse_production(). |
|
|
Definition at line 197 of file parser.c. References action, action_struct::attr, action_struct::id, action_struct::next, substitute_for_placeholders_in_symbol(), Symbol, action_struct::type, and action_struct::value. Referenced by parse_production(). |
|
|
|
Definition at line 119 of file parser.c. References variable_struct::current_binding_value, generate_new_variable(), Symbol, and symbol_union::var. Referenced by substitute_for_placeholders_in_action_list(), and substitute_for_placeholders_in_test(). |
|
|
Definition at line 149 of file parser.c. References complex_test, complex_test_struct::test_info_union::conjunct_list, cons, complex_test_struct::data, cons_struct::first, complex_test_struct::test_info_union::referent, cons_struct::rest, substitute_for_placeholders_in_symbol(), Symbol, test, and complex_test_struct::type. Referenced by substitute_for_placeholders_in_condition_list(). |
|
|
Initial value: {
"Grammar for left hand sides of productions:",
"",
" <lhs> ::= <cond>+",
" <cond> ::= <positive_cond> | - <positive_cond>",
" <positive_cond> ::= <conds_for_one_id> | { <cond>+ }",
" <conds_for_one_id> ::= ( [state|impasse] [<id_test>] <attr_value_tests>* )",
" <id_test> ::= <test>",
" <attr_value_tests> ::= [-] ^ <attr_test> [.<attr_test>]* <value_test>*",
" <attr_test> ::= <test>",
" <value_test> ::= <test> [+] | <conds_for_one_id> [+]",
"",
" <test> ::= <conjunctive_test> | <simple_test>",
" <conjunctive_test> ::= { <simple_test>+ }",
" <simple_test> ::= <disjunction_test> | <relational_test>",
" <disjunction_test> ::= << <constant>* >>",
" <relational_test> ::= [<relation>] <single_test>",
" <relation> ::= <> | < | > | <= | >= | = | <=>",
" <single_test> ::= variable | <constant>",
" <constant> ::= sym_constant | int_constant | float_constant",
"",
"See also: rhs-grammar, sp",
0
}
|
|
|
Initial value: {
"Grammar for right hand sides of productions:",
"",
" <rhs> ::= <rhs_action>*",
" <rhs_action> ::= ( variable <attr_value_make>+ ) | <function_call>",
" <function_call> ::= ( <function_name> <rhs_value>* )",
" <function_name> ::= sym_constant | + | -",
" <rhs_value> ::= <constant> | <function_call> | variable",
" <constant> ::= sym_constant | int_constant | float_constant",
" <attr_value_make> ::= ^ <rhs_value> <value_make>+",
" <value_make> ::= <rhs_value> <preferences>",
"",
" <preferences> ::= [,] | <preference_specifier>+",
" <preference-specifier> ::= <naturally-unary-preference> [,]",
" | <forced-unary-preference>",
" | <binary-preference> <rhs_value> [,]",
" <naturally-unary-preference> ::= + | - | ! | ~ | @",
" <binary-preference> ::= > | = | < | &",
" <any-preference> ::= <naturally-unary-preference> | <binary-preference>",
" <forced-unary-preference> ::= <binary-preference> ",
" {<any-preference> | , | ) | ^}",
" ;but the parser shouldn't consume the <any-preference>, \")\" or \"^\"",
" lexeme here",
"",
"See also: lhs-grammar, sp",
0
}
|
|
|
Definition at line 64 of file parser.c. Referenced by make_placeholder_test(), parse_attr_value_make(), and reset_placeholder_variable_generator(). |
1.3.5