GNU Octave 7.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::lexer Class Reference

#include "lex.h"

Inheritance diagram for octave::lexer:
Collaboration diagram for octave::lexer:

Public Member Functions

 lexer (const lexer &)=delete
 
 lexer (const std::string &eval_string, interpreter &interp)
 
 lexer (FILE *file, interpreter &interp)
 
 lexer (FILE *file, interpreter &interp, const std::string &encoding)
 
 lexer (interpreter &interp)
 
bool at_end_of_buffer (void) const
 
bool at_end_of_file (void) const
 
void begin_string (int state)
 
void clear_start_state (void)
 
int count_token (int tok)
 
int count_token_internal (int tok)
 
tokencurrent_token (void)
 
bool debug_flag (void) const
 
void display_start_state (void) const
 
void display_token (int tok)
 
bool display_tokens (void) const
 
void fatal_error (const char *msg)
 
int fill_flex_buffer (char *buf, unsigned int max_size)
 
int finish_command_arg (void)
 
void finish_comment (comment_elt::comment_type typ)
 
int flex_yyleng (void)
 
char * flex_yytext (void)
 
bool fq_identifier_contains_keyword (const std::string &s)
 
comment_listget_comment (void)
 
int handle_close_bracket (int bracket_type)
 
void handle_continuation (void)
 
int handle_end_of_input (void)
 
int handle_fq_identifier (void)
 
int handle_identifier (void)
 
int handle_meta_identifier (void)
 
template<>
int handle_number ()
 
template<>
int handle_number ()
 
template<>
int handle_number ()
 
template<>
int handle_number (void)
 
template<>
int handle_number (void)
 
template<>
int handle_number (void)
 
template<int base>
int handle_number (void)
 
int handle_op (int tok, bool bos=false, bool compat=true)
 
int handle_superclass_identifier (void)
 
int handle_token (int tok, token *tok_val=nullptr)
 
void increment_token_count (void)
 
void init (void)
 
bool input_from_eval_string (void) const
 
bool input_from_file (void) const
 
bool input_from_terminal (void) const
 
bool input_from_tmp_history_file (void)
 
std::string input_source (void) const
 
bool inside_any_object_index (void)
 
virtual bool is_push_lexer (void) const
 
void lexer_debug (const char *pattern)
 
bool looking_at_space (void)
 
bool looks_like_command_arg (void)
 
int make_keyword_token (const std::string &s)
 
void mark_as_variable (const std::string &nm)
 
void mark_as_variables (const std::list< std::string > &lst)
 
void mark_previous_token_trailing_space (void)
 
bool maybe_unput_comma_before_unary_op (int tok)
 
void maybe_warn_language_extension_comment (char c)
 
void maybe_warn_separator_insert (char sep)
 
lexeroperator= (const lexer &)=delete
 
std::size_t pending_token_count (void) const
 
void pop_start_state (void)
 
void prep_for_file (void)
 
bool previous_token_is_binop (void) const
 
bool previous_token_is_keyword (void) const
 
bool previous_token_may_be_command (void) const
 
int previous_token_value (void) const
 
bool previous_token_value_is (int tok_val) const
 
void push_start_state (int state)
 
void push_token (token *)
 
void reset (void)
 
int show_token (int tok)
 
bool space_follows_previous_token (void) const
 
int start_state (void) const
 
int text_yyinput (void)
 
void update_token_positions (int tok_len)
 
void warn_deprecated_operator (const std::string &deprecated_op, const std::string &recommended_op, const std::string &version)
 
void warn_deprecated_syntax (const std::string &msg)
 
void warn_language_extension (const std::string &msg)
 
void warn_language_extension_continuation (void)
 
void warn_language_extension_operator (const std::string &op)
 
void warn_single_quote_string (void)
 
bool whitespace_is_significant (void)
 
void xunput (char c)
 
void xunput (char c, char *buf)
 

Public Attributes

bool m_allow_command_syntax
 
bool m_arguments_is_keyword
 
bool m_at_beginning_of_statement
 
int m_block_comment_nesting_level
 
int m_braceflag
 
int m_bracketflag
 
bool m_buffer_function_text
 
bool m_classdef_element_names_are_keywords
 
int m_command_arg_paren_count
 
comment_buffer m_comment_buf
 
std::string m_comment_text
 
std::string m_current_input_line
 
int m_defining_func
 
std::string m_dir_name
 
bool m_end_of_input
 
std::string m_fcn_file_full_name
 
std::string m_fcn_file_name
 
filepos m_filepos
 
bool m_force_script
 
std::string m_function_text
 
std::string m_help_text
 
bool m_initial_input
 
input_buffer m_input_buf
 
interpreterm_interpreter
 
bool m_looking_at_anon_fcn_args
 
bool m_looking_at_decl_list
 
int m_looking_at_function_handle
 
bool m_looking_at_indirect_ref
 
bool m_looking_at_matrix_or_assign_lhs
 
std::list< boolm_looking_at_object_index
 
bool m_looking_at_parameter_list
 
bool m_looking_at_return_list
 
bool m_looking_for_object_index
 
int m_looping
 
bool m_maybe_classdef_get_set_method
 
bbp_nesting_level m_nesting_level
 
std::string m_package_name
 
std::stack< boolm_parsed_function_name
 
bool m_parsing_anon_fcn_body
 
bool m_parsing_class_method
 
bool m_parsing_classdef
 
bool m_parsing_classdef_decl
 
bool m_parsing_classdef_get_method
 
bool m_parsing_classdef_set_method
 
bool m_parsing_classdef_superclass
 
bool m_quote_is_transpose
 
input_reader m_reader
 
bool m_reading_classdef_file
 
bool m_reading_fcn_file
 
bool m_reading_script_file
 
void * m_scanner
 
std::string m_string_text
 
symbol_table_context m_symtab_context
 
filepos m_tok_beg
 
filepos m_tok_end
 
std::size_t m_token_count
 
token_cache m_tokens
 

Protected Attributes

std::stack< intstart_state_stack
 

Detailed Description

Definition at line 766 of file lex.h.

Constructor & Destructor Documentation

◆ lexer() [1/5]

octave::lexer::lexer ( interpreter interp)
inline

◆ lexer() [2/5]

octave::lexer::lexer ( FILE *  file,
interpreter interp 
)
inline

Definition at line 775 of file lex.h.

◆ lexer() [3/5]

octave::lexer::lexer ( FILE *  file,
interpreter interp,
const std::string &  encoding 
)
inline

Definition at line 779 of file lex.h.

◆ lexer() [4/5]

octave::lexer::lexer ( const std::string &  eval_string,
interpreter interp 
)
inline

Definition at line 783 of file lex.h.

◆ lexer() [5/5]

octave::lexer::lexer ( const lexer )
delete

Member Function Documentation

◆ at_end_of_buffer()

bool octave::base_lexer::at_end_of_buffer ( void  ) const
inlineinherited

Definition at line 632 of file lex.h.

Referenced by octave::push_parser::run().

◆ at_end_of_file()

bool octave::base_lexer::at_end_of_file ( void  ) const
inlineinherited

Definition at line 634 of file lex.h.

◆ begin_string()

void base_lexer::begin_string ( int  state)
inherited

Definition at line 5411 of file lex.cc.

References octave::state.

◆ clear_start_state()

void base_lexer::clear_start_state ( void  )
inherited

Definition at line 6807 of file lex.cc.

References INITIAL.

◆ count_token()

int base_lexer::count_token ( int  tok)
inherited

Definition at line 6951 of file lex.cc.

◆ count_token_internal()

int base_lexer::count_token_internal ( int  tok)
inherited

Definition at line 6961 of file lex.cc.

◆ current_token()

token * base_lexer::current_token ( void  )
inherited

Definition at line 6596 of file lex.cc.

References m_scanner, yyget_lval, and YYSTYPE.

◆ debug_flag()

bool base_lexer::debug_flag ( void  ) const
inherited

Definition at line 6742 of file lex.cc.

References settings::lexer_debug_flag().

◆ display_start_state()

void base_lexer::display_start_state ( void  ) const
inherited

◆ display_token()

◆ display_tokens()

bool base_lexer::display_tokens ( void  ) const
inherited

Definition at line 6749 of file lex.cc.

References settings::display_tokens().

◆ fatal_error()

void base_lexer::fatal_error ( const char *  msg)
inherited

Definition at line 6736 of file lex.cc.

References error().

◆ fill_flex_buffer()

int lexer::fill_flex_buffer ( char *  buf,
unsigned int  max_size 
)
virtual

Implements octave::base_lexer.

Definition at line 6987 of file lex.cc.

References input_system::PS1(), input_system::PS2(), and YY_NULL.

◆ finish_command_arg()

int base_lexer::finish_command_arg ( void  )
inherited

Definition at line 6927 of file lex.cc.

References SQ_STRING.

◆ finish_comment()

void base_lexer::finish_comment ( comment_elt::comment_type  typ)
inherited

Definition at line 6272 of file lex.cc.

References looks_like_copyright(), and looks_like_shebang().

◆ flex_yyleng()

int base_lexer::flex_yyleng ( void  )
inherited

Definition at line 5450 of file lex.cc.

References m_scanner, and yyget_leng.

◆ flex_yytext()

char * base_lexer::flex_yytext ( void  )
inherited

Definition at line 5444 of file lex.cc.

References m_scanner, and yyget_text.

◆ fq_identifier_contains_keyword()

bool base_lexer::fq_identifier_contains_keyword ( const std::string &  s)
inherited

Definition at line 5830 of file lex.cc.

References iskeyword().

◆ get_comment()

comment_list * octave::base_lexer::get_comment ( void  )
inlineinherited

Definition at line 668 of file lex.h.

Referenced by octave::base_parser::make_statement().

◆ handle_close_bracket()

int base_lexer::handle_close_bracket ( int  bracket_type)
inherited

Definition at line 6291 of file lex.cc.

References panic_impossible.

◆ handle_continuation()

void base_lexer::handle_continuation ( void  )
inherited

Definition at line 6213 of file lex.cc.

References is_space_or_tab().

◆ handle_end_of_input()

int base_lexer::handle_end_of_input ( void  )
inherited

Definition at line 5419 of file lex.cc.

References END_OF_INPUT, and warning().

◆ handle_fq_identifier()

int base_lexer::handle_fq_identifier ( void  )
inherited

Definition at line 6394 of file lex.cc.

References FQ_IDENT, is_space_or_tab(), and LEXICAL_ERROR.

◆ handle_identifier()

int base_lexer::handle_identifier ( void  )
inherited

Definition at line 6428 of file lex.cc.

References octave::token::mark_may_be_command(), NAME, and STRUCT_ELT.

◆ handle_meta_identifier()

int base_lexer::handle_meta_identifier ( void  )
inherited

Definition at line 6363 of file lex.cc.

References is_space_or_tab(), LEXICAL_ERROR, and METAQUERY.

◆ handle_number() [1/7]

template<>
int octave::base_lexer::handle_number ( )
inherited

◆ handle_number() [2/7]

template<>
int octave::base_lexer::handle_number ( )
inherited

◆ handle_number() [3/7]

template<>
int octave::base_lexer::handle_number ( )
inherited

◆ handle_number() [4/7]

template<>
int octave::base_lexer::handle_number ( void  )
inherited

Definition at line 5928 of file lex.cc.

References LEXICAL_ERROR, make_integer_value(), num_digits(), NUMBER, and panic_impossible.

◆ handle_number() [5/7]

template<>
int octave::base_lexer::handle_number ( void  )
inherited

◆ handle_number() [6/7]

template<>
int octave::base_lexer::handle_number ( void  )
inherited

Definition at line 6136 of file lex.cc.

References LEXICAL_ERROR, make_integer_value(), num_digits(), and NUMBER.

◆ handle_number() [7/7]

template<int base>
int octave::base_lexer::handle_number ( void  )
inherited

◆ handle_op()

int base_lexer::handle_op ( int  tok,
bool  bos = false,
bool  compat = true 
)
inherited

Definition at line 6888 of file lex.cc.

References EXPR_AND, EXPR_LT, and FQ_IDENT_START.

◆ handle_superclass_identifier()

int base_lexer::handle_superclass_identifier ( void  )
inherited

Definition at line 6329 of file lex.cc.

References is_space_or_tab(), iskeyword(), LEXICAL_ERROR, and SUPERCLASSREF.

◆ handle_token()

int base_lexer::handle_token ( int  tok,
token tok_val = nullptr 
)
inherited

Definition at line 6940 of file lex.cc.

◆ increment_token_count()

void base_lexer::increment_token_count ( void  )
inherited

Definition at line 6756 of file lex.cc.

References settings::increment_token_count().

◆ init()

void base_lexer::init ( void  )
inherited

Definition at line 5359 of file lex.cc.

References m_scanner, yylex_init, and yyset_extra.

◆ input_from_eval_string()

bool octave::lexer::input_from_eval_string ( void  ) const
inlinevirtual

Reimplemented from octave::base_lexer.

Definition at line 816 of file lex.h.

◆ input_from_file()

bool octave::lexer::input_from_file ( void  ) const
inlinevirtual

Reimplemented from octave::base_lexer.

Definition at line 811 of file lex.h.

◆ input_from_terminal()

bool octave::lexer::input_from_terminal ( void  ) const
inlinevirtual

Reimplemented from octave::base_lexer.

Definition at line 806 of file lex.h.

◆ input_from_tmp_history_file()

bool base_lexer::input_from_tmp_history_file ( void  )
inherited

Definition at line 6779 of file lex.cc.

References history_system::input_from_tmp_file().

Referenced by octave::base_parser::start_function().

◆ input_source()

std::string octave::lexer::input_source ( void  ) const
inlinevirtual

Reimplemented from octave::base_lexer.

Definition at line 801 of file lex.h.

◆ inside_any_object_index()

bool base_lexer::inside_any_object_index ( void  )
inherited

Definition at line 5535 of file lex.cc.

◆ is_push_lexer()

virtual bool octave::base_lexer::is_push_lexer ( void  ) const
inlinevirtualinherited

Reimplemented in octave::push_lexer.

Definition at line 622 of file lex.h.

◆ lexer_debug()

void base_lexer::lexer_debug ( const char *  pattern)
inherited

Definition at line 6765 of file lex.cc.

◆ looking_at_space()

bool base_lexer::looking_at_space ( void  )
inherited

Definition at line 5527 of file lex.cc.

References is_space_or_tab().

◆ looks_like_command_arg()

bool base_lexer::looks_like_command_arg ( void  )
inherited

Definition at line 6316 of file lex.cc.

◆ make_keyword_token()

◆ mark_as_variable()

void lexical_feedback::mark_as_variable ( const std::string &  nm)
inherited

◆ mark_as_variables()

void lexical_feedback::mark_as_variables ( const std::list< std::string > &  lst)
inherited

◆ mark_previous_token_trailing_space()

void lexical_feedback::mark_previous_token_trailing_space ( void  )
inherited

Definition at line 5197 of file lex.cc.

References octave::token::mark_trailing_space().

◆ maybe_unput_comma_before_unary_op()

bool base_lexer::maybe_unput_comma_before_unary_op ( int  tok)
inherited

Definition at line 6865 of file lex.cc.

References is_space_or_tab().

◆ maybe_warn_language_extension_comment()

void base_lexer::maybe_warn_language_extension_comment ( char  c)
inherited

Definition at line 6544 of file lex.cc.

◆ maybe_warn_separator_insert()

void base_lexer::maybe_warn_separator_insert ( char  sep)
inherited

Definition at line 6499 of file lex.cc.

References warning_with_id().

◆ operator=()

lexer & octave::lexer::operator= ( const lexer )
delete

◆ pending_token_count()

std::size_t base_lexer::pending_token_count ( void  ) const
inherited

Definition at line 6603 of file lex.cc.

◆ pop_start_state()

void base_lexer::pop_start_state ( void  )
inherited

Definition at line 6797 of file lex.cc.

References BEGIN, and OCTAVE_YYG.

◆ prep_for_file()

void base_lexer::prep_for_file ( void  )
inherited

Definition at line 5403 of file lex.cc.

References INPUT_FILE_START.

◆ previous_token_is_binop()

bool lexical_feedback::previous_token_is_binop ( void  ) const
inherited

◆ previous_token_is_keyword()

bool lexical_feedback::previous_token_is_keyword ( void  ) const
inherited

Definition at line 5232 of file lex.cc.

References octave::token::iskeyword().

◆ previous_token_may_be_command()

bool lexical_feedback::previous_token_may_be_command ( void  ) const
inherited

Definition at line 5257 of file lex.cc.

References octave::token::may_be_command().

◆ previous_token_value()

int lexical_feedback::previous_token_value ( void  ) const
inherited

Definition at line 5183 of file lex.cc.

References octave::token::token_value().

◆ previous_token_value_is()

bool lexical_feedback::previous_token_value_is ( int  tok_val) const
inherited

Definition at line 5190 of file lex.cc.

References octave::token::token_value_is().

◆ push_start_state()

void base_lexer::push_start_state ( int  state)
inherited

Definition at line 6787 of file lex.cc.

References BEGIN, OCTAVE_YYG, and octave::state.

◆ push_token()

void base_lexer::push_token ( token tok)
inherited

Definition at line 6588 of file lex.cc.

References m_scanner, yyget_lval, and YYSTYPE.

◆ reset()

void octave::lexer::reset ( void  )
inlinevirtual

Reimplemented from octave::base_lexer.

Definition at line 794 of file lex.h.

References octave::base_lexer::reset().

◆ show_token()

int base_lexer::show_token ( int  tok)
inherited

Definition at line 6970 of file lex.cc.

◆ space_follows_previous_token()

bool lexical_feedback::space_follows_previous_token ( void  ) const
inherited

Definition at line 5205 of file lex.cc.

References octave::token::space_follows_token().

◆ start_state()

int octave::base_lexer::start_state ( void  ) const
inlineinherited

Definition at line 743 of file lex.h.

◆ text_yyinput()

int base_lexer::text_yyinput ( void  )
inherited

Definition at line 5456 of file lex.cc.

References display_character(), and m_scanner.

◆ update_token_positions()

void base_lexer::update_token_positions ( int  tok_len)
inherited

Definition at line 5515 of file lex.cc.

◆ warn_deprecated_operator()

void base_lexer::warn_deprecated_operator ( const std::string &  deprecated_op,
const std::string &  recommended_op,
const std::string &  version 
)
inherited

Definition at line 6578 of file lex.cc.

◆ warn_deprecated_syntax()

void base_lexer::warn_deprecated_syntax ( const std::string &  msg)
inherited

Definition at line 6567 of file lex.cc.

References warning_with_id().

◆ warn_language_extension()

void base_lexer::warn_language_extension ( const std::string &  msg)
inherited

Definition at line 6529 of file lex.cc.

References warning_with_id().

◆ warn_language_extension_continuation()

void base_lexer::warn_language_extension_continuation ( void  )
inherited

Definition at line 6551 of file lex.cc.

◆ warn_language_extension_operator()

void base_lexer::warn_language_extension_operator ( const std::string &  op)
inherited

Definition at line 6557 of file lex.cc.

◆ warn_single_quote_string()

void base_lexer::warn_single_quote_string ( void  )
inherited

Definition at line 6514 of file lex.cc.

References warning_with_id().

◆ whitespace_is_significant()

bool base_lexer::whitespace_is_significant ( void  )
inherited

Definition at line 5858 of file lex.cc.

◆ xunput() [1/2]

void base_lexer::xunput ( char  c)
inherited

Definition at line 5507 of file lex.cc.

◆ xunput() [2/2]

void base_lexer::xunput ( char  c,
char *  buf 
)
inherited

Definition at line 5491 of file lex.cc.

References display_character(), m_scanner, and yyunput().

Member Data Documentation

◆ m_allow_command_syntax

bool octave::lexical_feedback::m_allow_command_syntax
inherited

Definition at line 358 of file lex.h.

Referenced by octave::base_parser::disallow_command_syntax().

◆ m_arguments_is_keyword

bool octave::lexical_feedback::m_arguments_is_keyword
inherited

Definition at line 389 of file lex.h.

◆ m_at_beginning_of_statement

bool octave::lexical_feedback::m_at_beginning_of_statement
inherited

Definition at line 362 of file lex.h.

◆ m_block_comment_nesting_level

int octave::lexical_feedback::m_block_comment_nesting_level
inherited

Definition at line 460 of file lex.h.

◆ m_braceflag

int octave::lexical_feedback::m_braceflag
inherited

Definition at line 448 of file lex.h.

◆ m_bracketflag

int octave::lexical_feedback::m_bracketflag
inherited

Definition at line 445 of file lex.h.

◆ m_buffer_function_text

bool octave::lexical_feedback::m_buffer_function_text
inherited

Definition at line 442 of file lex.h.

Referenced by octave::base_parser::finish_function().

◆ m_classdef_element_names_are_keywords

bool octave::lexical_feedback::m_classdef_element_names_are_keywords
inherited

Definition at line 393 of file lex.h.

◆ m_command_arg_paren_count

int octave::lexical_feedback::m_command_arg_paren_count
inherited

Definition at line 463 of file lex.h.

◆ m_comment_buf

◆ m_comment_text

std::string octave::lexical_feedback::m_comment_text
inherited

Definition at line 486 of file lex.h.

◆ m_current_input_line

std::string octave::lexical_feedback::m_current_input_line
inherited

Definition at line 483 of file lex.h.

◆ m_defining_func

int octave::lexical_feedback::m_defining_func
inherited

Definition at line 454 of file lex.h.

Referenced by octave::base_parser::recover_from_parsing_function().

◆ m_dir_name

std::string octave::lexical_feedback::m_dir_name
inherited

◆ m_end_of_input

bool octave::lexical_feedback::m_end_of_input
inherited

◆ m_fcn_file_full_name

◆ m_fcn_file_name

std::string octave::lexical_feedback::m_fcn_file_name
inherited

◆ m_filepos

filepos octave::lexical_feedback::m_filepos
inherited

Definition at line 470 of file lex.h.

◆ m_force_script

bool octave::lexical_feedback::m_force_script
inherited

Definition at line 429 of file lex.h.

Referenced by octave::base_parser::start_function().

◆ m_function_text

std::string octave::lexical_feedback::m_function_text
inherited

Definition at line 492 of file lex.h.

Referenced by octave::base_parser::finish_function().

◆ m_help_text

std::string octave::lexical_feedback::m_help_text
inherited

Definition at line 489 of file lex.h.

Referenced by octave::base_parser::make_script(), and octave::base_parser::start_function().

◆ m_initial_input

bool octave::lexer::m_initial_input

Definition at line 830 of file lex.h.

◆ m_input_buf

input_buffer octave::base_lexer::m_input_buf
inherited

Definition at line 722 of file lex.h.

◆ m_interpreter

interpreter& octave::lexical_feedback::m_interpreter
inherited

Definition at line 352 of file lex.h.

◆ m_looking_at_anon_fcn_args

bool octave::lexical_feedback::m_looking_at_anon_fcn_args
inherited

Definition at line 365 of file lex.h.

◆ m_looking_at_decl_list

bool octave::lexical_feedback::m_looking_at_decl_list
inherited

Definition at line 375 of file lex.h.

◆ m_looking_at_function_handle

int octave::lexical_feedback::m_looking_at_function_handle
inherited

Definition at line 457 of file lex.h.

◆ m_looking_at_indirect_ref

bool octave::lexical_feedback::m_looking_at_indirect_ref
inherited

Definition at line 386 of file lex.h.

◆ m_looking_at_matrix_or_assign_lhs

bool octave::lexical_feedback::m_looking_at_matrix_or_assign_lhs
inherited

Definition at line 379 of file lex.h.

◆ m_looking_at_object_index

std::list<bool> octave::lexical_feedback::m_looking_at_object_index
inherited

Definition at line 508 of file lex.h.

◆ m_looking_at_parameter_list

bool octave::lexical_feedback::m_looking_at_parameter_list
inherited

Definition at line 371 of file lex.h.

Referenced by octave::base_parser::recover_from_parsing_function().

◆ m_looking_at_return_list

bool octave::lexical_feedback::m_looking_at_return_list
inherited

Definition at line 368 of file lex.h.

Referenced by octave::base_parser::recover_from_parsing_function().

◆ m_looking_for_object_index

bool octave::lexical_feedback::m_looking_for_object_index
inherited

Definition at line 382 of file lex.h.

◆ m_looping

◆ m_maybe_classdef_get_set_method

bool octave::lexical_feedback::m_maybe_classdef_get_set_method
inherited

Definition at line 416 of file lex.h.

Referenced by octave::base_parser::make_fcn_name().

◆ m_nesting_level

bbp_nesting_level octave::lexical_feedback::m_nesting_level
inherited

Definition at line 520 of file lex.h.

◆ m_package_name

std::string octave::lexical_feedback::m_package_name
inherited

Definition at line 504 of file lex.h.

Referenced by octave::base_parser::start_function().

◆ m_parsed_function_name

std::stack<bool> octave::lexical_feedback::m_parsed_function_name
inherited

◆ m_parsing_anon_fcn_body

bool octave::lexical_feedback::m_parsing_anon_fcn_body
inherited

Definition at line 396 of file lex.h.

◆ m_parsing_class_method

bool octave::lexical_feedback::m_parsing_class_method
inherited

Definition at line 399 of file lex.h.

Referenced by octave::base_parser::start_function().

◆ m_parsing_classdef

bool octave::lexical_feedback::m_parsing_classdef
inherited

Definition at line 402 of file lex.h.

Referenced by octave::base_parser::start_function().

◆ m_parsing_classdef_decl

bool octave::lexical_feedback::m_parsing_classdef_decl
inherited

Definition at line 407 of file lex.h.

◆ m_parsing_classdef_get_method

bool octave::lexical_feedback::m_parsing_classdef_get_method
inherited

Definition at line 419 of file lex.h.

Referenced by octave::base_parser::start_function().

◆ m_parsing_classdef_set_method

bool octave::lexical_feedback::m_parsing_classdef_set_method
inherited

Definition at line 422 of file lex.h.

Referenced by octave::base_parser::start_function().

◆ m_parsing_classdef_superclass

bool octave::lexical_feedback::m_parsing_classdef_superclass
inherited

Definition at line 411 of file lex.h.

◆ m_quote_is_transpose

bool octave::lexical_feedback::m_quote_is_transpose
inherited

Definition at line 425 of file lex.h.

◆ m_reader

input_reader octave::lexer::m_reader

Definition at line 823 of file lex.h.

◆ m_reading_classdef_file

bool octave::lexical_feedback::m_reading_classdef_file
inherited

◆ m_reading_fcn_file

bool octave::lexical_feedback::m_reading_fcn_file
inherited

◆ m_reading_script_file

bool octave::lexical_feedback::m_reading_script_file
inherited

◆ m_scanner

void* octave::base_lexer::m_scanner
inherited

Definition at line 719 of file lex.h.

Referenced by octave::push_parser::run().

◆ m_string_text

std::string octave::lexical_feedback::m_string_text
inherited

Definition at line 480 of file lex.h.

◆ m_symtab_context

◆ m_tok_beg

filepos octave::lexical_feedback::m_tok_beg
inherited

Definition at line 476 of file lex.h.

◆ m_tok_end

filepos octave::lexical_feedback::m_tok_end
inherited

Definition at line 477 of file lex.h.

◆ m_token_count

std::size_t octave::lexical_feedback::m_token_count
inherited

Definition at line 467 of file lex.h.

◆ m_tokens

token_cache octave::lexical_feedback::m_tokens
inherited

Definition at line 523 of file lex.h.

◆ start_state_stack

std::stack<int> octave::base_lexer::start_state_stack
protectedinherited

Definition at line 763 of file lex.h.


The documentation for this class was generated from the following files: