#include "parse.h"
Protected Attributes | |
bool | m_autoloading |
std::shared_ptr< tree_classdef > | m_classdef_object |
std::string | m_curr_class_name |
int | m_curr_fcn_depth |
std::string | m_curr_package_name |
bool | m_endfunction_found |
bool | m_fcn_file_from_relative_lookup |
parent_scope_info | m_function_scopes |
base_lexer & | m_lexer |
int | m_max_fcn_depth |
std::string | m_parse_error_msg |
void * | m_parser_state |
bool | m_parsing_local_functions |
bool | m_parsing_subfunctions |
octave_value | m_primary_fcn |
symbol_scope | m_primary_fcn_scope |
std::shared_ptr< tree_statement_list > | m_stmt_list |
std::list< std::string > | m_subfunction_names |
Friends | |
octave_value | parse_fcn_file (interpreter &interp, const std::string &full_file, const std::string &file, const std::string &dir_name, const std::string &dispatch_type, const std::string &package_name, bool require_file, bool force_script, bool autoload, bool relative_lookup) |
base_parser::base_parser | ( | base_lexer & | lxr | ) |
Definition at line 6444 of file oct-parse.cc.
|
virtual |
Definition at line 6455 of file oct-parse.cc.
References m_lexer, m_parser_state, yypstate, and yypstate_delete.
tree_args_block_validation_list * base_parser::append_args_validation_list | ( | tree_args_block_validation_list * | list, |
tree_arg_validation * | arg_validation | ||
) |
Definition at line 7967 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_argument_list * base_parser::append_argument_list | ( | tree_argument_list * | list, |
token * | sep_tok, | ||
tree_expression * | expr | ||
) |
Definition at line 9066 of file oct-parse.cc.
tree_argument_list * base_parser::append_argument_list | ( | tree_argument_list * | list, |
tree_expression * | expr | ||
) |
Definition at line 9060 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_cell * base_parser::append_cell_row | ( | tree_cell * | cell, |
token * | sep_tok, | ||
tree_argument_list * | row | ||
) |
Definition at line 8903 of file oct-parse.cc.
References make_cell().
Referenced by octave_push_parse().
tree_classdef_attribute_list * base_parser::append_classdef_attribute | ( | tree_classdef_attribute_list * | list, |
token * | sep_tok, | ||
tree_classdef_attribute * | elt | ||
) |
Definition at line 8283 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_enum_list * base_parser::append_classdef_enum | ( | tree_classdef_enum_list * | list, |
tree_classdef_enum * | elt | ||
) |
Definition at line 8231 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_body * base_parser::append_classdef_enum_block | ( | tree_classdef_body * | body, |
tree_classdef_enum_block * | block | ||
) |
Definition at line 8331 of file oct-parse.cc.
References tree_classdef_body::append().
Referenced by octave_push_parse().
tree_classdef_event_list * base_parser::append_classdef_event | ( | tree_classdef_event_list * | list, |
tree_classdef_event * | elt | ||
) |
Definition at line 8225 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_body * base_parser::append_classdef_events_block | ( | tree_classdef_body * | body, |
tree_classdef_events_block * | block | ||
) |
Definition at line 8325 of file oct-parse.cc.
References tree_classdef_body::append().
Referenced by octave_push_parse().
tree_classdef_method_list * base_parser::append_classdef_method | ( | tree_classdef_method_list * | list, |
tree_function_def * | fcn_def | ||
) |
Definition at line 8399 of file oct-parse.cc.
References tree_function_def::function().
Referenced by octave_push_parse().
tree_classdef_body * base_parser::append_classdef_methods_block | ( | tree_classdef_body * | body, |
tree_classdef_methods_block * | block | ||
) |
Definition at line 8319 of file oct-parse.cc.
References tree_classdef_body::append().
Referenced by octave_push_parse().
tree_classdef_body * base_parser::append_classdef_properties_block | ( | tree_classdef_body * | body, |
tree_classdef_properties_block * | block | ||
) |
Definition at line 8313 of file oct-parse.cc.
References tree_classdef_body::append().
Referenced by octave_push_parse().
tree_classdef_property_list * base_parser::append_classdef_property | ( | tree_classdef_property_list * | list, |
tree_classdef_property * | elt | ||
) |
Definition at line 8219 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_superclass_list * base_parser::append_classdef_superclass | ( | tree_classdef_superclass_list * | list, |
token * | and_tok, | ||
tree_classdef_superclass * | elt | ||
) |
Definition at line 8251 of file oct-parse.cc.
References tree_classdef_superclass::set_separator().
Referenced by octave_push_parse().
tree_decl_init_list * base_parser::append_decl_init_list | ( | tree_decl_init_list * | list, |
tree_decl_elt * | elt | ||
) |
Definition at line 8630 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_statement_list * base_parser::append_function_body | ( | tree_statement_list * | body, |
tree_statement_list * | list | ||
) |
Definition at line 7910 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_statement_list * base_parser::append_function_def_list | ( | tree_statement_list * | list, |
separator_list * | sep_list, | ||
tree_function_def * | fcn_def | ||
) |
Definition at line 9042 of file oct-parse.cc.
References make_statement().
Referenced by octave_push_parse().
tree_if_command_list * base_parser::append_if_clause | ( | tree_if_command_list * | list, |
tree_if_clause * | clause | ||
) |
Definition at line 7381 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_matrix * base_parser::append_matrix_row | ( | tree_matrix * | matrix, |
token * | sep_tok, | ||
tree_argument_list * | row | ||
) |
Definition at line 8872 of file oct-parse.cc.
References make_matrix().
Referenced by octave_push_parse().
tree_parameter_list * base_parser::append_parameter_list | ( | tree_parameter_list * | list, |
token * | sep_tok, | ||
tree_decl_elt * | t | ||
) |
Definition at line 9090 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_parameter_list * base_parser::append_parameter_list | ( | tree_parameter_list * | list, |
token * | sep_tok, | ||
tree_identifier * | id | ||
) |
Definition at line 9096 of file oct-parse.cc.
tree_statement_list * base_parser::append_statement_list | ( | tree_statement_list * | list, |
int | sep_char, | ||
tree_statement * | stmt, | ||
bool | warn_missing_semi | ||
) |
Definition at line 9001 of file oct-parse.cc.
References set_stmt_print_flag().
Referenced by octave_push_parse().
tree_statement_list * base_parser::append_statement_list | ( | tree_statement_list * | list, |
separator_list * | sep_list, | ||
tree_statement * | stmt, | ||
bool | warn_missing_semi | ||
) |
Definition at line 9022 of file oct-parse.cc.
References set_stmt_print_flag().
tree_statement_list * base_parser::append_statement_list | ( | tree_statement_list * | list, |
token * | sep_tok, | ||
tree_statement * | stmt, | ||
bool | warn_missing_semi | ||
) |
Definition at line 9010 of file oct-parse.cc.
References set_stmt_print_flag().
tree_switch_case_list * base_parser::append_switch_case | ( | tree_switch_case_list * | list, |
tree_switch_case * | elt | ||
) |
Definition at line 7429 of file oct-parse.cc.
Referenced by octave_push_parse().
|
inline |
Definition at line 170 of file parse.h.
Referenced by tree_evaluator::eval_string().
void base_parser::bison_error | ( | const parse_exception & | pe | ) |
Definition at line 9163 of file oct-parse.cc.
References bison_error().
void base_parser::bison_error | ( | const std::list< parse_exception > & | pe | ) |
Definition at line 9169 of file oct-parse.cc.
References bison_error().
void base_parser::bison_error | ( | const std::string & | s | ) |
Definition at line 9108 of file oct-parse.cc.
References bison_error(), lexical_feedback::m_filepos, and m_lexer.
Referenced by bison_error(), bison_error(), bison_error(), end_token_error(), finish_classdef_file(), finish_input(), make_anon_fcn_handle(), make_assign_op(), make_break_command(), make_classdef(), make_continue_command(), make_fcn_name(), make_for_command(), make_index_expression(), octave_push_parse(), push_fcn_symtab(), start_classdef_external_method(), validate_array_list(), validate_matrix_for_assignment(), validate_param_list(), and validate_primary_fcn().
void base_parser::bison_error | ( | const std::string & | s, |
const filepos & | pos | ||
) |
Definition at line 9114 of file oct-parse.cc.
References filepos::column(), len, filepos::line(), lexical_feedback::m_current_input_line, lexical_feedback::m_fcn_file_full_name, m_lexer, m_parse_error_msg, lexical_feedback::m_reading_classdef_file, lexical_feedback::m_reading_fcn_file, and lexical_feedback::m_reading_script_file.
|
inline |
|
inline |
void base_parser::disallow_command_syntax | ( | ) |
Definition at line 9102 of file oct-parse.cc.
References lexical_feedback::m_allow_command_syntax, and m_lexer.
Referenced by tree_evaluator::eval_string().
void base_parser::end_token_error | ( | token * | tok, |
token::end_tok_type | expected | ||
) |
Definition at line 6603 of file oct-parse.cc.
References token::beg_pos(), bison_error(), and token::ettype().
Referenced by finish_if_command(), finish_switch_command(), make_classdef(), make_classdef_enum_block(), make_classdef_events_block(), make_classdef_methods_block(), make_classdef_properties_block(), make_for_command(), make_spmd_command(), make_try_command(), make_unwind_command(), make_while_command(), and octave_push_parse().
bool base_parser::end_token_ok | ( | token * | tok, |
token::end_tok_type | expected | ||
) |
Definition at line 6613 of file oct-parse.cc.
References token::ettype(), and token::simple_end.
Referenced by finish_if_command(), finish_switch_command(), make_arguments_block(), make_classdef(), make_classdef_enum_block(), make_classdef_events_block(), make_classdef_methods_block(), make_classdef_properties_block(), make_for_command(), make_spmd_command(), make_try_command(), make_unwind_command(), make_while_command(), and octave_push_parse().
|
inline |
Definition at line 216 of file parse.h.
Referenced by octave_push_parse().
tree_expression * base_parser::finish_array_list | ( | token * | open_delim, |
tree_array_list * | a, | ||
token * | close_delim | ||
) |
Definition at line 8793 of file oct-parse.cc.
References tree_array_list::accept(), tree_array_list::all_elements_are_constant(), token::beg_pos(), CONSTANT, error_system::discard_warning_messages(), token::end_pos(), tree_expression::evaluate(), interpreter::get_error_system(), interpreter::get_evaluator(), error_system::last_warning_message(), lexical_feedback::m_interpreter, m_lexer, tree_expression::mark_in_delims(), interpreter::recover_from_exception(), error_system::set_discard_warning_messages(), and error_system::set_last_warning_message().
Referenced by finish_cell(), and finish_matrix().
tree_expression * base_parser::finish_cell | ( | token * | open_delim, |
tree_cell * | c, | ||
token * | close_delim | ||
) |
Definition at line 8883 of file oct-parse.cc.
References token::beg_pos(), CONSTANT, token::end_pos(), and finish_array_list().
Referenced by octave_push_parse().
tree_function_def * base_parser::finish_classdef_external_method | ( | octave_user_function * | fcn, |
tree_parameter_list * | ret_list = nullptr , |
||
token * | eq_tok = nullptr |
||
) |
Definition at line 8372 of file oct-parse.cc.
References octave_user_function::define_ret_list(), tree_parameter_list::out, and octave_user_function::set_eq_tok().
Referenced by octave_push_parse().
bool base_parser::finish_classdef_file | ( | tree_classdef * | cls, |
tree_statement_list * | local_fcns, | ||
token * | eof_tok | ||
) |
Definition at line 8414 of file oct-parse.cc.
References tree_classdef::accept(), tree_function_def::accept(), octave_user_function::attach_trailing_comments(), bison_error(), octave_user_code::fcn_file_name(), tree_function_def::function(), interpreter::get_symbol_table(), symbol_table::install_local_function(), token::leading_comments(), m_classdef_object, lexical_feedback::m_interpreter, m_lexer, lexical_feedback::m_reading_classdef_file, octave_function::name(), and octave_value::user_function_value().
Referenced by octave_push_parse().
tree_function_def * base_parser::finish_function | ( | token * | fcn_tok, |
tree_parameter_list * | ret_list, | ||
token * | eq_tok, | ||
octave_user_function * | fcn | ||
) |
Definition at line 7819 of file oct-parse.cc.
References symbol_scope::cache_dir_name(), symbol_scope::cache_fcn_file_name(), symbol_scope::cache_fcn_name(), octave_user_code::cache_function_text(), symbol_scope::cache_name(), octave_user_function::define_ret_list(), octave_user_code::fcn_file_name(), symbol_scope::install_nestfunction(), symbol_scope::install_subfunction(), lexical_feedback::m_buffer_function_text, m_curr_fcn_depth, lexical_feedback::m_dir_name, m_endfunction_found, m_function_scopes, lexical_feedback::m_function_text, m_lexer, m_parsing_subfunctions, m_primary_fcn_scope, lexical_feedback::m_reading_fcn_file, m_subfunction_names, tree_parameter_list::mark_as_formal_parameters(), octave_user_function::mark_as_nested_function(), octave_user_function::mark_as_subfunction(), octave_function::name(), tree_parameter_list::out, symbol_scope::parent_scope(), octave_user_code::scope(), octave_user_function::set_eq_tok(), octave_user_function::set_fcn_tok(), symbol_scope::set_nesting_depth(), symbol_scope::set_parent(), symbol_scope::set_primary_parent(), octave_user_code::time_parsed(), and symbol_scope::update_nest().
Referenced by make_function().
tree_if_command * base_parser::finish_if_command | ( | tree_if_command_list * | list, |
tree_if_clause * | else_clause, | ||
token * | end_tok | ||
) |
Definition at line 7337 of file oct-parse.cc.
References end_token_error(), end_token_ok(), token::if_end, and tree_if_command_list::if_token().
Referenced by octave_push_parse().
bool base_parser::finish_input | ( | tree_statement_list * | lst, |
bool | at_eof = false |
||
) |
Definition at line 9427 of file oct-parse.cc.
References tree_statement_list::accept(), bison_error(), lexical_feedback::m_end_of_input, m_lexer, and statement_list().
Referenced by octave_push_parse().
tree_expression * base_parser::finish_matrix | ( | token * | open_delim, |
tree_matrix * | m, | ||
token * | close_delim | ||
) |
Definition at line 8852 of file oct-parse.cc.
References token::beg_pos(), CONSTANT, token::end_pos(), finish_array_list(), and octave_null_matrix::instance.
Referenced by octave_push_parse().
tree_switch_command * base_parser::finish_switch_command | ( | token * | switch_tok, |
tree_expression * | expr, | ||
tree_switch_case_list * | list, | ||
token * | end_tok | ||
) |
Definition at line 7389 of file oct-parse.cc.
References end_token_error(), end_token_ok(), and token::switch_end.
Referenced by octave_push_parse().
octave_user_function * base_parser::frob_function | ( | tree_identifier * | id, |
octave_user_function * | fcn | ||
) |
|
inline |
tree_anon_fcn_handle * base_parser::make_anon_fcn_handle | ( | token * | at_tok, |
tree_parameter_list * | param_list, | ||
tree_expression * | expr | ||
) |
Definition at line 6720 of file oct-parse.cc.
References tree_anon_fcn_handle::accept(), anon_fcn_validator::beg_pos(), token::beg_pos(), bison_error(), symbol_scope::cache_name(), filepos::column(), lexical_feedback::symbol_table_context::curr_scope(), base_lexer::input_from_eval_string(), base_lexer::input_from_terminal(), filepos::line(), lexical_feedback::m_fcn_file_full_name, m_lexer, lexical_feedback::m_symtab_context, symbol_scope::mark_static(), anon_fcn_validator::message(), anon_fcn_validator::ok(), lexical_feedback::symbol_table_context::parent_scope(), lexical_feedback::symbol_table_context::pop(), and tree_expression::set_print_flag().
Referenced by octave_push_parse().
tree_arg_size_spec * base_parser::make_arg_size_spec | ( | tree_argument_list * | size_args | ) |
Definition at line 7973 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_arg_validation * base_parser::make_arg_validation | ( | tree_arg_size_spec * | size_spec, |
tree_identifier * | class_name, | ||
tree_arg_validation_fcns * | validation_fcns, | ||
token * | eq_tok = nullptr , |
||
tree_expression * | default_value = nullptr |
||
) |
Definition at line 7941 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_arg_validation_fcns * base_parser::make_arg_validation_fcns | ( | tree_argument_list * | fcn_args | ) |
Definition at line 7981 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_args_block_attribute_list * base_parser::make_args_attribute_list | ( | tree_identifier * | attribute_name | ) |
Definition at line 7952 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_args_block_validation_list * base_parser::make_args_validation_list | ( | tree_arg_validation * | arg_validation | ) |
Definition at line 7961 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_argument_list * base_parser::make_argument_list | ( | tree_expression * | expr | ) |
Definition at line 9054 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_arguments_block * base_parser::make_arguments_block | ( | token * | arguments_tok, |
tree_args_block_attribute_list * | attr_list, | ||
tree_args_block_validation_list * | validation_list, | ||
token * | end_tok | ||
) |
Definition at line 7925 of file oct-parse.cc.
References token::arguments_end, and end_token_ok().
Referenced by octave_push_parse().
tree_expression * base_parser::make_assign_op | ( | tree_argument_list * | lhs, |
token * | eq_tok, | ||
tree_expression * | rhs | ||
) |
Definition at line 7437 of file oct-parse.cc.
References ADD_EQ, AND_EQ, token::beg_pos(), bison_error(), DIV_EQ, EDIV_EQ, ELEFTDIV_EQ, EMUL_EQ, EPOW_EQ, tree_expression::is_identifier(), tree_expression::is_index_expression(), tree_argument_list::is_simple_assign_lhs(), iskeyword(), LEFTDIV_EQ, m_lexer, lexical_feedback::mark_as_variable(), lexical_feedback::mark_as_variables(), MUL_EQ, tree_expression::name(), octave_value::op_add_eq, octave_value::op_asn_eq, octave_value::op_div_eq, octave_value::op_el_and_eq, octave_value::op_el_div_eq, octave_value::op_el_ldiv_eq, octave_value::op_el_mul_eq, octave_value::op_el_or_eq, octave_value::op_el_pow_eq, octave_value::op_ldiv_eq, octave_value::op_mul_eq, octave_value::op_pow_eq, octave_value::op_sub_eq, OR_EQ, POW_EQ, tree_argument_list::remove_front(), SUB_EQ, token::token_id(), octave_value::unknown_assign_op, and tree_argument_list::variable_names().
Referenced by octave_push_parse().
tree_expression * base_parser::make_binary_op | ( | tree_expression * | op1, |
token * | op_tok, | ||
tree_expression * | op2 | ||
) |
Definition at line 6858 of file oct-parse.cc.
References EDIV, ELEFTDIV, EMUL, EPOW, EXPR_AND, EXPR_EQ, EXPR_GE, EXPR_GT, EXPR_LE, EXPR_LT, EXPR_NE, EXPR_OR, LEFTDIV, maybe_compound_binary_expression(), octave_value::op_add, octave_value::op_div, octave_value::op_el_and, octave_value::op_el_div, octave_value::op_el_ldiv, octave_value::op_el_mul, octave_value::op_el_or, octave_value::op_el_pow, octave_value::op_eq, octave_value::op_ge, octave_value::op_gt, octave_value::op_ldiv, octave_value::op_le, octave_value::op_lt, octave_value::op_mul, octave_value::op_ne, octave_value::op_pow, octave_value::op_sub, POW, token::token_id(), and octave_value::unknown_binary_op.
Referenced by octave_push_parse().
tree_black_hole * base_parser::make_black_hole | ( | token * | tilde | ) |
Definition at line 6702 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_expression * base_parser::make_boolean_op | ( | tree_expression * | op1, |
token * | op_tok, | ||
tree_expression * | op2 | ||
) |
Definition at line 6980 of file oct-parse.cc.
References tree_boolean_expression::bool_and, tree_boolean_expression::bool_or, EXPR_AND_AND, EXPR_OR_OR, and token::token_id().
Referenced by octave_push_parse().
tree_command * base_parser::make_break_command | ( | token * | break_tok | ) |
Definition at line 7274 of file oct-parse.cc.
References bison_error(), m_lexer, and lexical_feedback::m_looping.
Referenced by octave_push_parse().
tree_cell * base_parser::make_cell | ( | tree_argument_list * | row | ) |
Definition at line 8897 of file oct-parse.cc.
Referenced by append_cell_row(), and octave_push_parse().
tree_classdef * base_parser::make_classdef | ( | token * | tok, |
tree_classdef_attribute_list * | a, | ||
tree_identifier * | id, | ||
tree_classdef_superclass_list * | sc, | ||
tree_classdef_body * | body, | ||
token * | end_tok | ||
) |
Definition at line 8012 of file oct-parse.cc.
References bison_error(), token::classdef_end, lexical_feedback::symbol_table_context::curr_scope(), end_token_error(), end_token_ok(), m_curr_package_name, lexical_feedback::m_fcn_file_full_name, lexical_feedback::m_fcn_file_name, m_lexer, lexical_feedback::m_symtab_context, lexical_feedback::symbol_table_context::pop(), and token::switch_end.
Referenced by octave_push_parse().
tree_classdef_attribute * base_parser::make_classdef_attribute | ( | tree_identifier * | id | ) |
Definition at line 8265 of file oct-parse.cc.
References make_classdef_attribute().
Referenced by make_classdef_attribute(), and octave_push_parse().
tree_classdef_attribute * base_parser::make_classdef_attribute | ( | tree_identifier * | id, |
token * | eq_tok, | ||
tree_expression * | expr | ||
) |
Definition at line 8271 of file oct-parse.cc.
tree_classdef_attribute_list * base_parser::make_classdef_attribute_list | ( | tree_classdef_attribute * | attr | ) |
Definition at line 8259 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_body * base_parser::make_classdef_body | ( | tree_classdef_enum_block * | enb | ) |
Definition at line 8307 of file oct-parse.cc.
tree_classdef_body * base_parser::make_classdef_body | ( | tree_classdef_events_block * | evb | ) |
Definition at line 8301 of file oct-parse.cc.
tree_classdef_body * base_parser::make_classdef_body | ( | tree_classdef_methods_block * | mb | ) |
Definition at line 8295 of file oct-parse.cc.
tree_classdef_body * base_parser::make_classdef_body | ( | tree_classdef_properties_block * | pb | ) |
Definition at line 8289 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_enum * base_parser::make_classdef_enum | ( | tree_identifier * | id, |
token * | open_paren, | ||
tree_expression * | expr, | ||
token * | close_paren | ||
) |
Definition at line 8213 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_enum_block * base_parser::make_classdef_enum_block | ( | token * | tok, |
tree_classdef_attribute_list * | a, | ||
tree_classdef_enum_list * | elist, | ||
token * | end_tok | ||
) |
Definition at line 8184 of file oct-parse.cc.
References end_token_error(), end_token_ok(), and token::enumeration_end.
Referenced by octave_push_parse().
tree_classdef_enum_list * base_parser::make_classdef_enum_list | ( | tree_classdef_enum * | e | ) |
Definition at line 8207 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_event * base_parser::make_classdef_event | ( | tree_identifier * | id | ) |
Definition at line 8178 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_event_list * base_parser::make_classdef_event_list | ( | tree_classdef_event * | e | ) |
Definition at line 8172 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_events_block * base_parser::make_classdef_events_block | ( | token * | tok, |
tree_classdef_attribute_list * | a, | ||
tree_classdef_event_list * | elist, | ||
token * | end_tok | ||
) |
Definition at line 8149 of file oct-parse.cc.
References end_token_error(), end_token_ok(), and token::events_end.
Referenced by octave_push_parse().
tree_classdef_method_list * base_parser::make_classdef_method_list | ( | tree_function_def * | fcn_def | ) |
Definition at line 8386 of file oct-parse.cc.
References tree_function_def::function().
Referenced by octave_push_parse().
tree_classdef_methods_block * base_parser::make_classdef_methods_block | ( | token * | tok, |
tree_classdef_attribute_list * | a, | ||
tree_classdef_method_list * | mlist, | ||
token * | end_tok | ||
) |
Definition at line 8126 of file oct-parse.cc.
References end_token_error(), end_token_ok(), and token::methods_end.
Referenced by octave_push_parse().
tree_classdef_properties_block * base_parser::make_classdef_properties_block | ( | token * | tok, |
tree_classdef_attribute_list * | a, | ||
tree_classdef_property_list * | plist, | ||
token * | end_tok | ||
) |
Definition at line 8064 of file oct-parse.cc.
References tree_classdef_property::doc_string(), comment_list::empty(), end_token_error(), end_token_ok(), comment_list::front(), tree_classdef_property::have_doc_string(), comment_elt::is_end_of_line(), token::leading_comments(), token::properties_end, and comment_elt::text().
Referenced by octave_push_parse().
tree_classdef_property * base_parser::make_classdef_property | ( | tree_identifier * | id, |
tree_arg_validation * | av | ||
) |
Definition at line 8115 of file oct-parse.cc.
References tree_arg_validation::arg_name(), tree_arg_validation::class_name(), tree_arg_validation::size_spec(), tree_arg_validation::validation_fcns(), and warning().
Referenced by octave_push_parse().
tree_classdef_property_list * base_parser::make_classdef_property_list | ( | tree_classdef_property * | prop | ) |
Definition at line 8109 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_superclass * base_parser::make_classdef_superclass | ( | token * | fqident | ) |
Definition at line 8245 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_classdef_superclass_list * base_parser::make_classdef_superclass_list | ( | token * | lt_tok, |
tree_classdef_superclass * | sc | ||
) |
Definition at line 8237 of file oct-parse.cc.
References tree_classdef_superclass::set_separator().
Referenced by octave_push_parse().
tree_expression * base_parser::make_colon_expression | ( | tree_expression * | base, |
token * | colon_1_tok, | ||
tree_expression * | incr, | ||
token * | colon_2_tok, | ||
tree_expression * | limit | ||
) |
Definition at line 6786 of file oct-parse.cc.
References tree_colon_expression::accept(), tree_colon_expression::beg_pos(), CONSTANT, error_system::discard_warning_messages(), tree_colon_expression::end_pos(), tree_colon_expression::evaluate(), interpreter::get_error_system(), interpreter::get_evaluator(), tree_expression::is_constant(), error_system::last_warning_message(), lexical_feedback::m_interpreter, m_lexer, interpreter::recover_from_exception(), error_system::set_discard_warning_messages(), and error_system::set_last_warning_message().
tree_expression * base_parser::make_colon_expression | ( | tree_expression * | base, |
token * | colon_tok, | ||
tree_expression * | limit | ||
) |
Definition at line 6780 of file oct-parse.cc.
References make_colon_expression().
Referenced by make_colon_expression(), and octave_push_parse().
tree_constant * base_parser::make_constant | ( | token * | tok | ) |
Definition at line 6651 of file oct-parse.cc.
References DQ_STRING, octave_null_str::instance, octave_null_sq_str::instance, octave_value::magic_colon_t, NUMBER, token::number(), SQ_STRING, token::text(), token::text_rep(), token::token_id(), and undo_string_escapes().
Referenced by octave_push_parse().
tree_command * base_parser::make_continue_command | ( | token * | continue_tok | ) |
Definition at line 7288 of file oct-parse.cc.
References bison_error(), m_lexer, and lexical_feedback::m_looping.
Referenced by octave_push_parse().
tree_decl_command * base_parser::make_decl_command | ( | token * | tok, |
tree_decl_init_list * | lst | ||
) |
Definition at line 8579 of file oct-parse.cc.
References token::beg_pos(), GLOBAL, filepos::line(), m_curr_fcn_depth, lexical_feedback::m_fcn_file_full_name, m_lexer, lexical_feedback::m_reading_script_file, lexical_feedback::mark_as_variables(), tree_decl_command::mark_global(), tree_decl_command::mark_persistent(), PERSISTENT, token::token_id(), tree_decl_init_list::variable_names(), and warning().
Referenced by octave_push_parse().
tree_decl_elt * base_parser::make_decl_elt | ( | tree_identifier * | id, |
token * | eq_op = nullptr , |
||
tree_expression * | expr = nullptr |
||
) |
Definition at line 8636 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_decl_init_list * base_parser::make_decl_init_list | ( | tree_decl_elt * | elt | ) |
Definition at line 8624 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_switch_case * base_parser::make_default_switch_case | ( | token * | default_tok, |
tree_statement_list * | list | ||
) |
Definition at line 7423 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_command * base_parser::make_do_until_command | ( | token * | do_tok, |
tree_statement_list * | body, | ||
token * | until_tok, | ||
tree_expression * | expr | ||
) |
Definition at line 7204 of file oct-parse.cc.
References m_lexer, and lexical_feedback::m_looping.
Referenced by octave_push_parse().
tree_statement * base_parser::make_end | ( | const std::string & | type, |
bool | eof, | ||
token * | tok | ||
) |
Definition at line 7813 of file oct-parse.cc.
References make_statement().
Referenced by octave_push_parse().
tree_fcn_handle * base_parser::make_fcn_handle | ( | token * | tok | ) |
Definition at line 6710 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_identifier * base_parser::make_fcn_name | ( | tree_identifier * | id | ) |
Definition at line 7601 of file oct-parse.cc.
References bison_error(), symbol_scope::cache_name(), lexical_feedback::symbol_table_context::curr_scope(), filepos::increment_column(), m_curr_fcn_depth, lexical_feedback::m_fcn_file_name, m_function_scopes, m_lexer, lexical_feedback::m_maybe_classdef_get_set_method, lexical_feedback::m_parsed_function_name, m_parsing_local_functions, lexical_feedback::m_symtab_context, and tree_identifier::name().
Referenced by octave_push_parse().
tree_command * base_parser::make_for_command | ( | token * | for_tok, |
token * | open_paren, | ||
tree_argument_list * | lhs, | ||
token * | eq_tok, | ||
tree_expression * | expr, | ||
token * | sep_tok, | ||
tree_expression * | maxproc, | ||
token * | close_paren, | ||
tree_statement_list * | body, | ||
token * | end_tok | ||
) |
Definition at line 7216 of file oct-parse.cc.
References bison_error(), end_token_error(), end_token_ok(), token::for_end, m_lexer, lexical_feedback::m_looping, tree_expression::mark_as_for_cmd_expr(), lexical_feedback::mark_as_variable(), lexical_feedback::mark_as_variables(), tree_expression::name(), PARFOR, token::parfor_end, tree_argument_list::remove_front(), token::token_id(), and tree_argument_list::variable_names().
Referenced by octave_push_parse().
tree_function_def * base_parser::make_function | ( | token * | fcn_tok, |
tree_parameter_list * | ret_list, | ||
token * | eq_tok, | ||
tree_identifier * | id, | ||
tree_parameter_list * | param_list, | ||
tree_statement_list * | body, | ||
tree_statement * | end_fcn_stmt | ||
) |
Definition at line 7640 of file oct-parse.cc.
References comment_elt::empty(), comment_list::empty(), comment_list::find_doc_comment(), finish_function(), tree_statement::leading_comments(), tree_statement_list::leading_comments(), token::leading_comments(), m_lexer, lexical_feedback::m_parsing_classdef, recover_from_parsing_function(), start_function(), comment_elt::text(), and comment_elt::uses_hash_char().
Referenced by octave_push_parse().
tree_statement_list * base_parser::make_function_def_list | ( | tree_function_def * | fcn_def | ) |
Definition at line 9034 of file oct-parse.cc.
References make_statement().
Referenced by octave_push_parse().
tree_identifier * base_parser::make_identifier | ( | token * | ident | ) |
Definition at line 8912 of file oct-parse.cc.
References lexical_feedback::symbol_table_context::curr_scope(), m_lexer, and lexical_feedback::m_symtab_context.
Referenced by octave_push_parse().
tree_if_clause * base_parser::make_if_clause | ( | token * | if_tok, |
separator_list * | if_sep_list, | ||
tree_expression * | expr, | ||
tree_statement_list * | list | ||
) |
Definition at line 7364 of file oct-parse.cc.
References maybe_convert_to_braindead_shortcircuit().
Referenced by octave_push_parse().
tree_index_expression * base_parser::make_index_expression | ( | tree_expression * | expr, |
token * | open_paren, | ||
tree_argument_list * | args, | ||
token * | close_paren, | ||
char | type | ||
) |
Definition at line 8493 of file oct-parse.cc.
References tree_index_expression::append(), bison_error(), tree_argument_list::has_magic_tilde(), tree_expression::is_index_expression(), tree_expression::is_postfix_indexed(), and tree_expression::set_postfix_index().
Referenced by make_word_list_command(), and octave_push_parse().
tree_index_expression * base_parser::make_indirect_ref | ( | tree_expression * | expr, |
token * | dot_tok, | ||
token * | open_paren, | ||
tree_expression * | field, | ||
token * | close_paren | ||
) |
Definition at line 8555 of file oct-parse.cc.
References tree_index_expression::append(), tree_expression::is_index_expression(), tree_expression::is_postfix_indexed(), m_lexer, lexical_feedback::m_looking_at_indirect_ref, and tree_expression::set_postfix_index().
tree_index_expression * base_parser::make_indirect_ref | ( | tree_expression * | expr, |
token * | dot_tok, | ||
token * | struct_elt_tok | ||
) |
Definition at line 8531 of file oct-parse.cc.
References tree_index_expression::append(), tree_expression::is_index_expression(), tree_expression::is_postfix_indexed(), m_lexer, lexical_feedback::m_looking_at_indirect_ref, and tree_expression::set_postfix_index().
Referenced by octave_push_parse().
tree_matrix * base_parser::make_matrix | ( | tree_argument_list * | row | ) |
Definition at line 8866 of file oct-parse.cc.
Referenced by append_matrix_row(), and octave_push_parse().
tree_metaclass_query * base_parser::make_metaclass_query | ( | token * | metaquery | ) |
Definition at line 8929 of file oct-parse.cc.
References token::text().
Referenced by octave_push_parse().
tree_classdef_attribute * base_parser::make_not_classdef_attribute | ( | token * | not_tok, |
tree_identifier * | id | ||
) |
Definition at line 8277 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_parameter_list * base_parser::make_parameter_list | ( | tree_parameter_list::in_or_out | io | ) |
Definition at line 9072 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_parameter_list * base_parser::make_parameter_list | ( | tree_parameter_list::in_or_out | io, |
tree_decl_elt * | t | ||
) |
Definition at line 9078 of file oct-parse.cc.
tree_parameter_list * base_parser::make_parameter_list | ( | tree_parameter_list::in_or_out | io, |
tree_identifier * | id | ||
) |
Definition at line 9084 of file oct-parse.cc.
tree_expression * base_parser::make_postfix_op | ( | tree_expression * | op1, |
token * | op_tok | ||
) |
Definition at line 7047 of file oct-parse.cc.
References HERMITIAN, MINUS_MINUS, octave_value::op_decr, octave_value::op_hermitian, octave_value::op_incr, octave_value::op_transpose, PLUS_PLUS, token::token_id(), TRANSPOSE, and octave_value::unknown_unary_op.
Referenced by octave_push_parse().
tree_expression * base_parser::make_prefix_op | ( | token * | op_tok, |
tree_expression * | op1 | ||
) |
Definition at line 7007 of file oct-parse.cc.
References MINUS_MINUS, octave_value::op_decr, octave_value::op_incr, octave_value::op_not, octave_value::op_uminus, octave_value::op_uplus, PLUS_PLUS, token::token_id(), and octave_value::unknown_unary_op.
Referenced by octave_push_parse().
tree_command * base_parser::make_return_command | ( | token * | return_tok | ) |
Definition at line 7302 of file oct-parse.cc.
Referenced by octave_push_parse().
void base_parser::make_script | ( | tree_statement_list * | cmds, |
tree_statement * | end_script | ||
) |
Definition at line 7564 of file oct-parse.cc.
References symbol_scope::cache_dir_name(), symbol_scope::cache_fcn_file_name(), symbol_scope::cache_name(), lexical_feedback::symbol_table_context::curr_scope(), comment_list::find_doc_string(), tree_statement_list::leading_comments(), lexical_feedback::m_dir_name, lexical_feedback::m_fcn_file_full_name, lexical_feedback::m_fcn_file_name, m_lexer, m_primary_fcn, lexical_feedback::m_symtab_context, lexical_feedback::symbol_table_context::pop(), octave_function::stash_dir_name(), and octave_user_code::stash_fcn_file_time().
Referenced by octave_push_parse().
tree_spmd_command * base_parser::make_spmd_command | ( | token * | spmd_tok, |
tree_statement_list * | body, | ||
token * | end_tok | ||
) |
Definition at line 7310 of file oct-parse.cc.
References end_token_error(), end_token_ok(), and token::spmd_end.
Referenced by octave_push_parse().
tree_statement * base_parser::make_statement | ( | T * | arg | ) |
Definition at line 8989 of file oct-parse.cc.
Referenced by append_function_def_list(), make_end(), make_function_def_list(), and octave_push_parse().
tree_statement_list * base_parser::make_statement_list | ( | tree_statement * | stmt | ) |
Definition at line 8995 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_superclass_ref * base_parser::make_superclass_ref | ( | token * | superclassref | ) |
Definition at line 8920 of file oct-parse.cc.
References token::superclass_class_name(), and token::superclass_method_name().
Referenced by octave_push_parse().
tree_switch_case * base_parser::make_switch_case | ( | token * | case_tok, |
tree_expression * | expr, | ||
tree_statement_list * | list | ||
) |
Definition at line 7415 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_switch_case_list * base_parser::make_switch_case_list | ( | tree_switch_case * | switch_case | ) |
Definition at line 7407 of file oct-parse.cc.
Referenced by octave_push_parse().
tree_command * base_parser::make_try_command | ( | token * | try_tok, |
tree_statement_list * | body, | ||
token * | catch_tok, | ||
separator_list * | catch_sep_list, | ||
tree_statement_list * | cleanup, | ||
token * | end_tok | ||
) |
Definition at line 7104 of file oct-parse.cc.
References end_token_error(), end_token_ok(), tree_statement::expression(), tree_expression::is_identifier(), tree_statement::set_expression(), and token::try_catch_end.
Referenced by octave_push_parse().
tree_command * base_parser::make_unwind_command | ( | token * | unwind_tok, |
tree_statement_list * | body, | ||
token * | cleanup_tok, | ||
tree_statement_list * | cleanup, | ||
token * | end_tok | ||
) |
Definition at line 7082 of file oct-parse.cc.
References end_token_error(), end_token_ok(), and token::unwind_protect_end.
Referenced by octave_push_parse().
tree_command * base_parser::make_while_command | ( | token * | while_tok, |
tree_expression * | expr, | ||
tree_statement_list * | body, | ||
token * | end_tok | ||
) |
Definition at line 7178 of file oct-parse.cc.
References end_token_error(), end_token_ok(), m_lexer, lexical_feedback::m_looping, and token::while_end.
Referenced by octave_push_parse().
tree_index_expression * base_parser::make_word_list_command | ( | tree_expression * | expr, |
tree_argument_list * | args | ||
) |
Definition at line 8480 of file oct-parse.cc.
References make_index_expression(), and tree_index_expression::mark_word_list_cmd().
Referenced by octave_push_parse().
void base_parser::maybe_convert_to_braindead_shortcircuit | ( | tree_expression *& | expr | ) |
Definition at line 6947 of file oct-parse.cc.
References tree_expression::is_binary_expression(), tree_binary_expression::lhs(), maybe_convert_to_braindead_shortcircuit(), octave_value::op_el_and, octave_value::op_el_or, tree_binary_expression::op_type(), tree_binary_expression::operator_token(), tree_binary_expression::preserve_operands(), and tree_binary_expression::rhs().
Referenced by make_if_clause(), maybe_convert_to_braindead_shortcircuit(), and octave_push_parse().
|
inline |
Definition at line 201 of file parse.h.
Referenced by octave_push_parse().
bool base_parser::push_fcn_symtab | ( | ) |
Definition at line 6621 of file oct-parse.cc.
References bison_error(), lexical_feedback::symbol_table_context::curr_scope(), m_curr_fcn_depth, m_function_scopes, m_lexer, m_max_fcn_depth, m_parsing_subfunctions, m_primary_fcn_scope, lexical_feedback::m_reading_script_file, lexical_feedback::m_symtab_context, symbol_scope::mark_primary_fcn_scope(), and lexical_feedback::symbol_table_context::push().
Referenced by octave_push_parse().
void base_parser::recover_from_parsing_function | ( | ) |
Definition at line 7989 of file oct-parse.cc.
References m_curr_fcn_depth, lexical_feedback::m_defining_fcn, m_function_scopes, m_lexer, lexical_feedback::m_looking_at_parameter_list, lexical_feedback::m_looking_at_return_list, lexical_feedback::m_parsed_function_name, m_parsing_subfunctions, lexical_feedback::m_reading_fcn_file, lexical_feedback::m_symtab_context, and lexical_feedback::symbol_table_context::pop().
Referenced by make_function().
void base_parser::reset | ( | ) |
Definition at line 6471 of file oct-parse.cc.
References symbol_scope::invalid(), m_autoloading, m_classdef_object, m_curr_class_name, m_curr_fcn_depth, m_curr_package_name, m_endfunction_found, m_fcn_file_from_relative_lookup, m_function_scopes, m_lexer, m_max_fcn_depth, m_parser_state, m_parsing_local_functions, m_parsing_subfunctions, m_primary_fcn, m_primary_fcn_scope, m_stmt_list, m_subfunction_names, base_lexer::reset(), yypstate, yypstate_delete, and yypstate_new.
Referenced by bp_table::condition_valid(), tree_evaluator::eval_string(), and text_parser::parse().
|
pure virtual |
Implemented in parser, and push_parser.
tree_statement_list * base_parser::set_stmt_print_flag | ( | tree_statement_list * | list, |
const token & | sep_tok, | ||
bool | warn_missing_semi | ||
) |
Definition at line 8973 of file oct-parse.cc.
References set_stmt_print_flag(), and token::token_id().
tree_statement_list * base_parser::set_stmt_print_flag | ( | tree_statement_list * | list, |
int | sep_char, | ||
bool | warn_missing_semi | ||
) |
Definition at line 8937 of file oct-parse.cc.
References tree_statement::is_null_statement(), tree_statement::set_print_flag(), and warning().
Referenced by append_statement_list(), append_statement_list(), append_statement_list(), octave_push_parse(), set_stmt_print_flag(), and set_stmt_print_flag().
tree_statement_list * base_parser::set_stmt_print_flag | ( | tree_statement_list * | list, |
separator_list * | sep_list, | ||
bool | warn_missing_semi | ||
) |
Definition at line 8979 of file oct-parse.cc.
References set_stmt_print_flag().
octave_user_function * base_parser::start_classdef_external_method | ( | tree_identifier * | id, |
tree_parameter_list * | pl = nullptr |
||
) |
Definition at line 8337 of file oct-parse.cc.
References symbol_scope::anonymous(), bison_error(), m_curr_class_name, octave_function::name(), and octave_user_function::stash_function_name().
Referenced by octave_push_parse().
octave_user_function * base_parser::start_function | ( | tree_identifier * | id, |
tree_parameter_list * | param_list, | ||
tree_statement_list * | body, | ||
tree_statement * | end_function, | ||
const std::string & | doc_string | ||
) |
Definition at line 7707 of file oct-parse.cc.
References lexical_feedback::symbol_table_context::curr_scope(), octave_function::document(), octave_user_code::fcn_file_name(), base_lexer::input_from_tmp_history_file(), m_autoloading, m_curr_class_name, m_curr_fcn_depth, lexical_feedback::m_dir_name, m_fcn_file_from_relative_lookup, lexical_feedback::m_fcn_file_full_name, lexical_feedback::m_fcn_file_name, lexical_feedback::m_force_script, m_lexer, lexical_feedback::m_package_name, lexical_feedback::m_parsing_class_method, lexical_feedback::m_parsing_classdef, lexical_feedback::m_parsing_classdef_get_method, lexical_feedback::m_parsing_classdef_set_method, m_parsing_subfunctions, m_primary_fcn, lexical_feedback::m_reading_classdef_file, lexical_feedback::m_reading_fcn_file, lexical_feedback::m_reading_script_file, lexical_feedback::m_symtab_context, octave_user_function::mark_as_classdef_constructor(), octave_user_function::mark_as_classdef_method(), octave_user_function::mark_as_legacy_constructor(), octave_user_function::mark_as_legacy_method(), octave_user_function::mark_as_system_fcn_file(), octave_function::mark_relative(), octave_function::name(), octave_function::stash_dir_name(), octave_function::stash_dispatch_class(), octave_user_code::stash_fcn_file_name(), octave_user_code::stash_fcn_file_time(), octave_user_function::stash_function_name(), octave_function::stash_package_name(), warning(), and warning_with_id().
Referenced by make_function().
tree_if_command_list * base_parser::start_if_command | ( | tree_if_clause * | clause | ) |
Definition at line 7329 of file oct-parse.cc.
Referenced by octave_push_parse().
|
inline |
Definition at line 186 of file parse.h.
Referenced by finish_input().
void base_parser::statement_list | ( | std::shared_ptr< tree_statement_list > & | lst | ) |
Definition at line 6583 of file oct-parse.cc.
References m_stmt_list.
Referenced by bp_table::condition_valid(), and tree_evaluator::eval_string().
bool base_parser::validate_array_list | ( | tree_expression * | e | ) |
Definition at line 8706 of file oct-parse.cc.
References bison_error(), and tree_expression::is_matrix().
Referenced by octave_push_parse().
tree_argument_list * base_parser::validate_matrix_for_assignment | ( | tree_expression * | e | ) |
Definition at line 8731 of file oct-parse.cc.
References bison_error(), tree_expression::evaluate(), interpreter::get_evaluator(), tree_expression::is_constant(), tree_expression::is_matrix(), tree_argument_list::is_valid_lvalue_list(), octave_value::isempty(), lexical_feedback::m_interpreter, m_lexer, tree_argument_list::mark_as_simple_assign_lhs(), lexical_feedback::mark_as_variables(), and tree_argument_list::variable_names().
Referenced by octave_push_parse().
bool base_parser::validate_param_list | ( | tree_parameter_list * | lst, |
tree_parameter_list::in_or_out | type | ||
) |
Definition at line 8643 of file oct-parse.cc.
References bison_error(), tree_decl_elt::ident(), tree_parameter_list::in, tree_identifier::is_black_hole(), iskeyword(), len, tree_parameter_list::mark_varargs(), tree_parameter_list::mark_varargs_only(), and tree_identifier::name().
Referenced by octave_push_parse().
bool base_parser::validate_primary_fcn | ( | ) |
Definition at line 9456 of file oct-parse.cc.
References octave_function::accept(), bison_error(), m_primary_fcn, and octave_value::user_code_value().
Referenced by octave_push_parse().
|
friend |
Definition at line 9334 of file oct-parse.cc.
|
protected |
Definition at line 687 of file parse.h.
Referenced by reset(), and start_function().
|
protected |
Definition at line 737 of file parse.h.
Referenced by finish_classdef_file(), and reset().
|
protected |
Definition at line 719 of file parse.h.
Referenced by reset(), start_classdef_external_method(), and start_function().
|
protected |
Definition at line 711 of file parse.h.
Referenced by finish_function(), make_decl_command(), make_fcn_name(), push_fcn_symtab(), recover_from_parsing_function(), reset(), and start_function().
|
protected |
Definition at line 723 of file parse.h.
Referenced by make_classdef(), and reset().
|
protected |
Definition at line 684 of file parse.h.
Referenced by finish_function(), and reset().
|
protected |
Definition at line 691 of file parse.h.
Referenced by reset(), and start_function().
|
protected |
Definition at line 726 of file parse.h.
Referenced by finish_function(), make_fcn_name(), push_fcn_symtab(), recover_from_parsing_function(), and reset().
|
protected |
Definition at line 743 of file parse.h.
Referenced by ~base_parser(), bison_error(), bison_error(), disallow_command_syntax(), finish_array_list(), finish_classdef_file(), finish_function(), finish_input(), make_anon_fcn_handle(), make_assign_op(), make_break_command(), make_classdef(), make_colon_expression(), make_continue_command(), make_decl_command(), make_do_until_command(), make_fcn_name(), make_for_command(), make_function(), make_identifier(), make_indirect_ref(), make_indirect_ref(), make_script(), make_while_command(), push_fcn_symtab(), recover_from_parsing_function(), reset(), parser::run(), push_parser::run(), start_function(), and validate_matrix_for_assignment().
|
protected |
Definition at line 704 of file parse.h.
Referenced by push_fcn_symtab(), and reset().
|
protected |
Definition at line 681 of file parse.h.
Referenced by bison_error(), parser::run(), and push_parser::run().
|
protected |
Definition at line 746 of file parse.h.
Referenced by ~base_parser(), reset(), parser::run(), and push_parser::run().
|
protected |
Definition at line 700 of file parse.h.
Referenced by make_fcn_name(), and reset().
|
protected |
Definition at line 695 of file parse.h.
Referenced by finish_function(), push_fcn_symtab(), recover_from_parsing_function(), reset(), and start_function().
|
protected |
Definition at line 729 of file parse.h.
Referenced by make_script(), reset(), start_function(), and validate_primary_fcn().
|
protected |
Definition at line 715 of file parse.h.
Referenced by finish_function(), push_fcn_symtab(), and reset().
|
protected |
Definition at line 740 of file parse.h.
Referenced by reset(), and statement_list().
|
protected |
Definition at line 734 of file parse.h.
Referenced by finish_function(), and reset().