Soar Kernel
9.3.2 08-06-12
|
Go to the source code of this file.
Typedefs | |
typedef struct action_struct | action |
typedef struct agent_struct | agent |
typedef char | Bool |
typedef struct condition_struct | condition |
typedef union symbol_union | Symbol |
typedef char * | test |
Functions | |
void | init_parser (void) |
Symbol * | make_symbol_for_current_lexeme (agent *thisAgent, bool allow_lti) |
condition * | parse_lhs (agent *thisAgent) |
bool | parse_lti (agent *thisAgent) |
struct production_struct * | parse_production (agent *thisAgent, unsigned char *rete_addition_result) |
Bool | parse_rhs (agent *thisAgent, action **dest_rhs) |
typedef struct action_struct action |
typedef struct agent_struct agent |
typedef struct condition_struct condition |
typedef union symbol_union Symbol |
void init_parser | ( | void | ) |
Definition at line 257 of file parser.cpp.
References abort_with_fatal_error(), BUFFER_MSG_SIZE, FLOAT_CONSTANT_LEXEME, lexeme_info::float_val, lexeme_info::id_letter, lexeme_info::id_number, IDENTIFIER_LEXEME, INT_CONSTANT_LEXEME, lexeme_info::int_val, agent_struct::lexeme, make_float_constant(), make_int_constant(), make_sym_constant(), make_variable(), NIL, smem_lti_get_id(), smem_lti_soar_make(), SMEM_LTI_UNKNOWN_LEVEL, lexeme_info::string, SYM_CONSTANT_LEXEME, lexeme_info::type, and VARIABLE_LEXEME.
Referenced by parse_disjunction_test(), parse_relational_test(), and parse_rhs_value().
Definition at line 1050 of file parser.cpp.
References NIL, and parse_cond_plus().
Referenced by parse_production().
bool parse_lti | ( | agent * | thisAgent | ) |
Definition at line 1791 of file parser.cpp.
References AT_LEXEME, get_lexeme(), get_lexer_allow_ids(), agent_struct::lexeme, set_lexer_allow_ids(), and lexeme_info::type.
Referenced by parse_relational_test(), parse_rhs_action(), and parse_rhs_value().
|
read |
Definition at line 1878 of file parser.cpp.
References add_production_to_rete(), CHUNK_PRODUCTION_TYPE, deallocate_action_list(), deallocate_condition_list(), DECLARED_I_SUPPORT, DECLARED_O_SUPPORT, production_struct::declared_support, DEFAULT_PRODUCTION_TYPE, destructively_reverse_action_list(), production_struct::documentation, DUPLICATE_PRODUCTION, excise_production(), FALSE, free_memory_block_for_string(), get_lexeme(), production_struct::interrupt, agent_struct::lexeme, make_memory_block_for_string(), make_production(), make_sym_constant(), agent_struct::name, condition_struct::next, NIL, parse_lhs(), parse_rhs(), print(), print_location_of_most_recent_lexeme(), print_with_symbols(), sym_constant_struct::production, QUOTED_STRING_LEXEME, R_PAREN_LEXEME, reset_placeholder_variable_generator(), reset_variable_generator(), RIGHT_ARROW_LEXEME, production_struct::rl_rule, rl_rule_meta(), rl_valid_template(), symbol_union::sc, lexeme_info::string, substitute_for_placeholders_in_action_list(), substitute_for_placeholders_in_condition_list(), SYM_CONSTANT_LEXEME, symbol_remove_ref(), agent_struct::sysparams, TEMPLATE_PRODUCTION_TYPE, TRACE_LOADING_SYSPARAM, TRUE, lexeme_info::type, UNDECLARED_SUPPORT, and USER_PRODUCTION_TYPE.
Definition at line 1817 of file parser.cpp.
References deallocate_action_list(), FALSE, agent_struct::lexeme, action_struct::next, NIL, parse_rhs_action(), R_PAREN_LEXEME, TRUE, and lexeme_info::type.
Referenced by parse_production().