GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "lex.h"
Classes | |
class | comment_buffer |
class | input_buffer |
Protected Member Functions | |
octave_base_lexer (const octave_base_lexer &) | |
octave_base_lexer & | operator= (const octave_base_lexer &) |
Protected Attributes | |
std::stack< int > | start_state_stack |
|
virtual |
Definition at line 4730 of file lex.cc.
References octave_lex_destroy(), and scanner.
|
protected |
Definition at line 4792 of file lex.cc.
References lexical_feedback::current_input_column, lexical_feedback::input_line_number, push_start_state(), lexical_feedback::string_column, and lexical_feedback::string_line.
Definition at line 5768 of file lex.cc.
References INITIAL, push_start_state(), and start_state_stack.
Definition at line 5913 of file lex.cc.
References count_token_internal(), lexical_feedback::current_input_column, lexical_feedback::input_line_number, and push_token().
Definition at line 5923 of file lex.cc.
References show_token(), lexical_feedback::token_count, and Vtoken_count.
Referenced by count_token(), handle_op_internal(), and handle_token().
Definition at line 5581 of file lex.cc.
References octave_get_lval(), scanner, and YYSTYPE::tok_val.
Referenced by display_token().
Implemented in octave_push_lexer, and octave_lexer.
Referenced by handle_continuation(), and is_keyword_token().
Definition at line 5777 of file lex.cc.
References BLOCK_COMMENT_START, COMMAND_START, DQ_STRING_START, INITIAL, INPUT_FILE_START, LINE_COMMENT_START, MATRIX_START, SQ_STRING_START, and start_state().
Referenced by lexer_debug().
Definition at line 5588 of file lex.cc.
References ADD_EQ, AND_EQ, BREAK, CASE, CATCH, CLASSDEF, CLEANUP, CONTINUE, current_token(), DIV_EQ, DO, DQ_STRING, EDIV, EDIV_EQ, ELEFTDIV, ELEFTDIV_EQ, ELSE, ELSEIF, EMINUS, EMUL, EMUL_EQ, END, END_OF_INPUT, EPLUS, EPOW, EPOW_EQ, EVENTS, EXPR_AND, EXPR_AND_AND, EXPR_EQ, EXPR_GE, EXPR_GT, EXPR_LE, EXPR_LT, EXPR_NE, EXPR_NOT, EXPR_OR, EXPR_OR_OR, FCN, FCN_HANDLE, FOR, FUNC_RET, GET, GLOBAL, HERMITIAN, IF, IMAG_NUM, INPUT_FILE, LEFTDIV, LEFTDIV_EQ, LEXICAL_ERROR, LSHIFT, LSHIFT_EQ, METAQUERY, METHODS, MINUS_MINUS, MUL_EQ, NAME, symbol_table::symbol_record::name(), NUM, token::number(), OR_EQ, OTHERWISE, PERSISTENT, PLUS_PLUS, POW, POW_EQ, PROPERTIES, RSHIFT, RSHIFT_EQ, SET, SQ_STRING, STRUCT_ELT, SUB_EQ, SUPERCLASSREF, SWITCH, token::sym_rec(), token::text(), TRANSPOSE, TRY, UNTIL, UNWIND, and WHILE.
Referenced by show_token().
Definition at line 5724 of file lex.cc.
References error(), OCTAVE_QUIT, scanner, and yy_fatal_error().
Referenced by octave_lexer::fill_flex_buffer(), and octave_push_lexer::fill_flex_buffer().
Implemented in octave_push_lexer, and octave_lexer.
void octave_base_lexer::finish_comment | ( | octave_comment_elt::comment_type | typ | ) |
Definition at line 5270 of file lex.cc.
References octave_base_lexer::comment_buffer::append(), lexical_feedback::at_beginning_of_statement, comment_buf, lexical_feedback::comment_text, octave_comment_elt::copyright, lexical_feedback::help_text, looks_like_copyright(), lexical_feedback::nesting_level, and lexical_feedback::bbp_nesting_level::none().
Referenced by handle_continuation().
Definition at line 4825 of file lex.cc.
References octave_get_leng(), and scanner.
Referenced by handle_continuation(), handle_identifier(), handle_meta_identifier(), handle_number(), handle_op_internal(), handle_superclass_identifier(), and handle_token().
Definition at line 4819 of file lex.cc.
References octave_get_text(), and scanner.
Referenced by handle_continuation(), handle_identifier(), handle_meta_identifier(), handle_number(), handle_op_internal(), handle_superclass_identifier(), lexer_debug(), and xunput().
|
inline |
void octave_base_lexer::gripe_matlab_incompatible | ( | const std::string & | msg | ) |
Definition at line 5535 of file lex.cc.
References lexical_feedback::fcn_file_full_name, lexical_feedback::input_line_number, and warning_with_id().
Referenced by gripe_matlab_incompatible_continuation(), gripe_matlab_incompatible_operator(), and maybe_gripe_matlab_incompatible_comment().
Definition at line 5557 of file lex.cc.
References gripe_matlab_incompatible().
Referenced by handle_continuation().
void octave_base_lexer::gripe_matlab_incompatible_operator | ( | const std::string & | op | ) |
Definition at line 5563 of file lex.cc.
References gripe_matlab_incompatible().
Referenced by handle_op_internal().
Definition at line 5520 of file lex.cc.
References lexical_feedback::fcn_file_full_name, lexical_feedback::input_line_number, and warning_with_id().
Definition at line 5289 of file lex.cc.
References lexical_feedback::braceflag, lexical_feedback::bracketflag, lexical_feedback::nesting_level, lexical_feedback::bbp_nesting_level::none(), panic_impossible, pop_start_state(), and lexical_feedback::bbp_nesting_level::remove().
Definition at line 5217 of file lex.cc.
References lexical_feedback::comment_text, lexical_feedback::current_input_column, decrement_promptflag(), octave_comment_elt::end_of_line, finish_comment(), flex_yyleng(), flex_yytext(), gripe_matlab_incompatible_continuation(), lexical_feedback::input_line_number, and lexical_feedback::mark_previous_token_trailing_space().
Definition at line 4801 of file lex.cc.
References lexical_feedback::block_comment_nesting_level, END_OF_INPUT, lexical_feedback::fcn_file_name, handle_token(), lexical_feedback::input_line_number, lexer_debug(), lexical_feedback::reading_classdef_file, lexical_feedback::reading_fcn_file, lexical_feedback::reading_script_file, and warning().
Definition at line 5398 of file lex.cc.
References lexical_feedback::at_beginning_of_statement, lexical_feedback::symbol_table_context::curr_scope(), lexical_feedback::current_input_column, error(), FCN_HANDLE, flex_yyleng(), flex_yytext(), lexical_feedback::input_line_number, symbol_table::insert(), is_keyword_token(), is_variable(), LEXICAL_ERROR, lexical_feedback::looking_at_function_handle, lexical_feedback::looking_at_indirect_ref, lexical_feedback::looking_for_object_index, token::mark_may_be_command(), NAME, push_token(), STRUCT_ELT, and lexical_feedback::symtab_context.
Definition at line 5830 of file lex.cc.
References handle_op_internal(), and lexer_debug().
Definition at line 5869 of file lex.cc.
References handle_op_internal(), and maybe_unput_comma_before_unary_op().
Definition at line 5360 of file lex.cc.
References lexical_feedback::symbol_table_context::curr_scope(), lexical_feedback::current_input_column, error(), flex_yyleng(), flex_yytext(), lexical_feedback::input_line_number, symbol_table::insert(), is_keyword_token(), LEXICAL_ERROR, METAQUERY, push_token(), strip_trailing_whitespace(), and lexical_feedback::symtab_context.
Definition at line 5174 of file lex.cc.
References lexical_feedback::at_beginning_of_statement, lexical_feedback::current_input_column, flex_yyleng(), flex_yytext(), lexical_feedback::input_line_number, lexical_feedback::looking_for_object_index, looks_like_hex(), NUM, push_token(), and strsave().
Definition at line 5822 of file lex.cc.
References handle_op_internal(), and lexer_debug().
Definition at line 5876 of file lex.cc.
References lexical_feedback::at_beginning_of_statement, count_token_internal(), lexical_feedback::current_input_column, flex_yyleng(), flex_yytext(), gripe_matlab_incompatible_operator(), lexical_feedback::input_line_number, lexical_feedback::looking_for_object_index, and push_token().
Referenced by handle_incompatible_op(), handle_incompatible_unary_op(), handle_op(), and handle_unary_op().
Definition at line 5321 of file lex.cc.
References lexical_feedback::symbol_table_context::curr_scope(), lexical_feedback::current_input_column, error(), flex_yyleng(), flex_yytext(), lexical_feedback::input_line_number, symbol_table::insert(), is_keyword_token(), LEXICAL_ERROR, push_token(), strip_trailing_whitespace(), SUPERCLASSREF, and lexical_feedback::symtab_context.
Definition at line 5891 of file lex.cc.
References lexical_feedback::current_input_column, and lexical_feedback::input_line_number.
Referenced by handle_end_of_input().
Definition at line 5900 of file lex.cc.
References count_token_internal(), lexical_feedback::current_input_column, flex_yyleng(), lexical_feedback::input_line_number, and push_token().
Definition at line 5862 of file lex.cc.
References handle_op_internal(), and maybe_unput_comma_before_unary_op().
Implemented in octave_push_lexer, and octave_lexer.
Reimplemented from lexical_feedback.
Definition at line 4736 of file lex.cc.
References clear_start_state(), octave_lex_init(), octave_set_extra(), and scanner.
Reimplemented in octave_lexer.
Definition at line 635 of file lex.h.
Referenced by is_keyword_token().
Reimplemented in octave_lexer.
|
inlinevirtual |
Reimplemented in octave_push_lexer, and octave_lexer.
Definition at line 4898 of file lex.cc.
References lexical_feedback::looking_at_object_index.
Referenced by is_keyword_token().
int octave_base_lexer::is_keyword_token | ( | const std::string & | s | ) |
Definition at line 4926 of file lex.cc.
References lexical_feedback::at_beginning_of_statement, break_kw, case_kw, catch_kw, token::classdef_end, classdef_kw, continue_kw, lexical_feedback::current_input_column, decrement_promptflag(), lexical_feedback::defining_func, do_kw, else_kw, elseif_kw, end_kw, end_try_catch_kw, end_unwind_protect_kw, endclassdef_kw, endenumeration_kw, endevents_kw, endfor_kw, endfunction_kw, endif_kw, endmethods_kw, endparfor_kw, endproperties_kw, endswitch_kw, endwhile_kw, token::enumeration_end, enumeration_kw, token::events_end, events_kw, lexical_feedback::fcn_file_full_name, token::for_end, for_kw, lexical_feedback::force_script, token::function_end, function_kw, get_kw, global_kw, token::if_end, if_kw, octave_kw_hash::in_word_set(), input_from_file(), lexical_feedback::input_line_number, inside_any_object_index(), octave_kw::kw_id, lexical_feedback::looking_at_decl_list, lexical_feedback::looking_at_return_list, lexical_feedback::looping, magic_file_kw, magic_line_kw, lexical_feedback::maybe_classdef_get_set_method, token::methods_end, methods_kw, otherwise_kw, panic_impossible, token::parfor_end, parfor_kw, lexical_feedback::parsed_function_name, lexical_feedback::parsing_classdef, persistent_kw, token::properties_end, properties_kw, push_token(), lexical_feedback::reading_classdef_file, lexical_feedback::reading_fcn_file, lexical_feedback::reading_script_file, return_kw, set_kw, token::simple_end, static_kw, token::switch_end, switch_kw, octave_kw::tok, lexical_feedback::token_count, token::try_catch_end, try_kw, until_kw, unwind_protect_cleanup_kw, token::unwind_protect_end, unwind_protect_kw, warning_with_id(), token::while_end, and while_kw.
Referenced by handle_identifier(), handle_meta_identifier(), and handle_superclass_identifier().
Reimplemented in octave_push_lexer.
bool octave_base_lexer::is_variable | ( | const std::string & | name | ) |
Definition at line 4916 of file lex.cc.
References symbol_table::is_variable(), and lexical_feedback::pending_local_variables.
Referenced by handle_identifier().
Definition at line 5734 of file lex.cc.
References display_start_state(), flex_yytext(), and lexer_debug_flag.
Referenced by handle_end_of_input(), handle_incompatible_op(), and handle_op().
Definition at line 4890 of file lex.cc.
References text_yyinput(), and xunput().
Referenced by looks_like_command_arg().
Definition at line 5311 of file lex.cc.
References looking_at_space(), lexical_feedback::previous_token_may_be_command(), and lexical_feedback::space_follows_previous_token().
|
inherited |
|
inherited |
Definition at line 4662 of file lex.cc.
References lexical_feedback::pending_local_variables.
Definition at line 4603 of file lex.cc.
References lexical_feedback::token_cache::front(), token::mark_trailing_space(), lexical_feedback::previous_token_value_is(), and lexical_feedback::tokens.
Referenced by handle_continuation().
Definition at line 5550 of file lex.cc.
References gripe_matlab_incompatible().
Definition at line 4653 of file lex.cc.
References lexical_feedback::token_cache::front(), token::is_symbol(), lexical_feedback::pending_local_variables, token::symbol_name(), and lexical_feedback::tokens.
Definition at line 5839 of file lex.cc.
References lexical_feedback::previous_token_is_binop(), lexical_feedback::previous_token_value(), lexical_feedback::space_follows_previous_token(), text_yyinput(), whitespace_is_significant(), and xunput().
Referenced by handle_incompatible_unary_op(), and handle_unary_op().
Definition at line 5505 of file lex.cc.
References lexical_feedback::fcn_file_full_name, lexical_feedback::input_line_number, and warning_with_id().
|
protected |
Definition at line 5758 of file lex.cc.
References BEGIN, OCTAVE_YYG, start_state(), and start_state_stack.
Referenced by handle_close_bracket().
Definition at line 4784 of file lex.cc.
References INPUT_FILE_START, push_start_state(), and lexical_feedback::reading_script_file.
Definition at line 4618 of file lex.cc.
References ADD_EQ, AND_EQ, DIV_EQ, EDIV, EDIV_EQ, ELEFTDIV, ELEFTDIV_EQ, EMINUS, EMUL, EMUL_EQ, EPOW, EPOW_EQ, EXPR_AND, EXPR_AND_AND, EXPR_EQ, EXPR_GE, EXPR_GT, EXPR_LE, EXPR_LT, EXPR_NE, EXPR_NOT, EXPR_OR, EXPR_OR_OR, LEFTDIV, LEFTDIV_EQ, LSHIFT, LSHIFT_EQ, MUL_EQ, OR_EQ, POW, POW_EQ, lexical_feedback::previous_token_value(), RSHIFT, RSHIFT_EQ, and SUB_EQ.
Referenced by maybe_unput_comma_before_unary_op().
Definition at line 4639 of file lex.cc.
References lexical_feedback::token_cache::front(), token::is_keyword(), and lexical_feedback::tokens.
Definition at line 4646 of file lex.cc.
References lexical_feedback::token_cache::front(), token::may_be_command(), and lexical_feedback::tokens.
Referenced by looks_like_command_arg().
Definition at line 4589 of file lex.cc.
References lexical_feedback::token_cache::front(), token::token_value(), and lexical_feedback::tokens.
Referenced by maybe_unput_comma_before_unary_op(), and lexical_feedback::previous_token_is_binop().
Definition at line 4596 of file lex.cc.
References lexical_feedback::token_cache::front(), token::token_value_is(), and lexical_feedback::tokens.
Referenced by lexical_feedback::mark_previous_token_trailing_space().
Implemented in octave_push_lexer, and octave_lexer.
Referenced by reset().
Implemented in octave_push_lexer, and octave_lexer.
Definition at line 5748 of file lex.cc.
References BEGIN, OCTAVE_YYG, start_state(), and start_state_stack.
Referenced by begin_string(), clear_start_state(), and prep_for_file().
Definition at line 5573 of file lex.cc.
References octave_get_lval(), lexical_feedback::token_cache::push(), scanner, YYSTYPE::tok_val, and lexical_feedback::tokens.
Referenced by count_token(), handle_identifier(), handle_meta_identifier(), handle_number(), handle_op_internal(), handle_superclass_identifier(), handle_token(), and is_keyword_token().
Reimplemented from lexical_feedback.
Reimplemented in octave_push_lexer, and octave_lexer.
Definition at line 4757 of file lex.cc.
References lexical_feedback::symbol_table_context::clear(), clear_start_state(), comment_buf, forced_interactive, input_from_eval_string(), interactive, octave_restart(), promptflag(), quitting_gracefully, lexical_feedback::reading_classdef_file, lexical_feedback::reading_fcn_file, lexical_feedback::reading_script_file, octave_base_lexer::comment_buffer::reset(), scanner, and lexical_feedback::symtab_context.
Referenced by octave_lexer::reset(), and octave_push_lexer::reset().
Definition at line 5935 of file lex.cc.
References display_token(), lexer_debug_flag, and Vdisplay_tokens.
Referenced by count_token_internal().
Definition at line 4611 of file lex.cc.
References lexical_feedback::token_cache::front(), token::space_follows_token(), and lexical_feedback::tokens.
Referenced by looks_like_command_arg(), and maybe_unput_comma_before_unary_op().
Definition at line 645 of file lex.h.
Referenced by display_start_state(), pop_start_state(), and push_start_state().
Definition at line 4831 of file lex.cc.
References display_character(), lexer_debug_flag, scanner, and xunput().
Referenced by looking_at_space(), and maybe_unput_comma_before_unary_op().
Definition at line 5160 of file lex.cc.
References lexical_feedback::bbp_nesting_level::is_brace(), lexical_feedback::bbp_nesting_level::is_bracket(), lexical_feedback::looking_at_object_index, and lexical_feedback::nesting_level.
Referenced by maybe_unput_comma_before_unary_op().
Definition at line 4866 of file lex.cc.
References display_character(), lexer_debug_flag, scanner, and yyunput().
Referenced by looking_at_space(), maybe_unput_comma_before_unary_op(), text_yyinput(), and xunput().
Definition at line 4882 of file lex.cc.
References flex_yytext(), and xunput().
|
inherited |
Definition at line 311 of file lex.h.
Referenced by finish_comment(), handle_identifier(), handle_number(), handle_op_internal(), is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 390 of file lex.h.
Referenced by handle_end_of_input(), and lexical_feedback::reset().
|
inherited |
Definition at line 378 of file lex.h.
Referenced by handle_close_bracket(), and lexical_feedback::reset().
|
inherited |
Definition at line 375 of file lex.h.
Referenced by handle_close_bracket(), and lexical_feedback::reset().
comment_buffer octave_base_lexer::comment_buf |
Definition at line 621 of file lex.h.
Referenced by finish_comment(), and reset().
|
inherited |
Definition at line 400 of file lex.h.
Referenced by finish_comment(), handle_continuation(), and lexical_feedback::reset().
|
inherited |
Definition at line 372 of file lex.h.
Referenced by begin_string(), count_token(), handle_continuation(), handle_identifier(), handle_meta_identifier(), handle_number(), handle_op_internal(), handle_superclass_identifier(), handle_token(), is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 397 of file lex.h.
Referenced by octave_lexer::fill_flex_buffer(), and lexical_feedback::reset().
|
inherited |
Definition at line 384 of file lex.h.
Referenced by is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 307 of file lex.h.
Referenced by main_loop(), and lexical_feedback::reset().
|
inherited |
Definition at line 416 of file lex.h.
Referenced by gripe_matlab_incompatible(), gripe_single_quote_string(), is_keyword_token(), maybe_warn_separator_insert(), and lexical_feedback::reset().
|
inherited |
Definition at line 413 of file lex.h.
Referenced by handle_end_of_input(), and lexical_feedback::reset().
|
inherited |
Definition at line 357 of file lex.h.
Referenced by is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 403 of file lex.h.
Referenced by finish_comment(), and lexical_feedback::reset().
input_buffer octave_base_lexer::input_buf |
Definition at line 618 of file lex.h.
Referenced by octave_lexer::fill_flex_buffer(), and octave_push_lexer::fill_flex_buffer().
|
inherited |
Definition at line 369 of file lex.h.
Referenced by begin_string(), count_token(), gripe_matlab_incompatible(), gripe_single_quote_string(), handle_continuation(), handle_end_of_input(), handle_identifier(), handle_meta_identifier(), handle_number(), handle_op_internal(), handle_superclass_identifier(), handle_token(), is_keyword_token(), maybe_warn_separator_insert(), and lexical_feedback::reset().
|
inherited |
Definition at line 314 of file lex.h.
Referenced by lexical_feedback::reset().
|
inherited |
Definition at line 324 of file lex.h.
Referenced by is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 387 of file lex.h.
Referenced by handle_identifier(), and lexical_feedback::reset().
|
inherited |
Definition at line 339 of file lex.h.
Referenced by handle_identifier(), and lexical_feedback::reset().
|
inherited |
Definition at line 328 of file lex.h.
Referenced by lexical_feedback::reset().
|
inherited |
Definition at line 332 of file lex.h.
Referenced by lexical_feedback::reset().
|
inherited |
Definition at line 420 of file lex.h.
Referenced by lexical_feedback::init(), inside_any_object_index(), lexical_feedback::reset(), and whitespace_is_significant().
|
inherited |
Definition at line 320 of file lex.h.
Referenced by lexical_feedback::reset().
|
inherited |
Definition at line 317 of file lex.h.
Referenced by is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 335 of file lex.h.
Referenced by handle_identifier(), handle_number(), handle_op_internal(), and lexical_feedback::reset().
|
inherited |
Definition at line 381 of file lex.h.
Referenced by is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 347 of file lex.h.
Referenced by is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 435 of file lex.h.
Referenced by finish_comment(), handle_close_bracket(), lexical_feedback::reset(), and whitespace_is_significant().
|
inherited |
Definition at line 425 of file lex.h.
Referenced by is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 342 of file lex.h.
Referenced by lexical_feedback::reset().
|
inherited |
Definition at line 350 of file lex.h.
Referenced by is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 428 of file lex.h.
Referenced by is_variable(), lexical_feedback::mark_as_variables(), and lexical_feedback::maybe_mark_previous_token_as_variable().
|
inherited |
Definition at line 366 of file lex.h.
Referenced by handle_end_of_input(), is_keyword_token(), octave_base_reader::reading_classdef_file(), lexical_feedback::reset(), and reset().
|
inherited |
Definition at line 360 of file lex.h.
Referenced by handle_end_of_input(), is_keyword_token(), octave_base_reader::reading_fcn_file(), lexical_feedback::reset(), and reset().
|
inherited |
Definition at line 363 of file lex.h.
Referenced by handle_end_of_input(), is_keyword_token(), prep_for_file(), octave_base_reader::reading_script_file(), lexical_feedback::reset(), and reset().
void* octave_base_lexer::scanner |
Definition at line 615 of file lex.h.
Referenced by current_token(), fatal_error(), flex_yyleng(), flex_yytext(), init(), push_token(), reset(), text_yyinput(), xunput(), and ~octave_base_lexer().
|
protected |
Definition at line 677 of file lex.h.
Referenced by clear_start_state(), pop_start_state(), and push_start_state().
|
inherited |
Definition at line 410 of file lex.h.
Referenced by begin_string(), and lexical_feedback::reset().
|
inherited |
Definition at line 409 of file lex.h.
Referenced by begin_string(), and lexical_feedback::reset().
|
inherited |
Definition at line 406 of file lex.h.
Referenced by lexical_feedback::reset().
|
inherited |
Definition at line 431 of file lex.h.
Referenced by handle_identifier(), handle_meta_identifier(), handle_superclass_identifier(), and reset().
|
inherited |
Definition at line 394 of file lex.h.
Referenced by count_token_internal(), is_keyword_token(), and lexical_feedback::reset().
|
inherited |
Definition at line 438 of file lex.h.
Referenced by lexical_feedback::mark_previous_token_trailing_space(), lexical_feedback::maybe_mark_previous_token_as_variable(), lexical_feedback::previous_token_is_keyword(), lexical_feedback::previous_token_may_be_command(), lexical_feedback::previous_token_value(), lexical_feedback::previous_token_value_is(), push_token(), lexical_feedback::reset(), lexical_feedback::space_follows_previous_token(), and lexical_feedback::~lexical_feedback().