#include "lex.h"
Public Member Functions | |
symbol_table_context (interpreter &interp) | |
~symbol_table_context (void) | |
void | clear (void) |
symbol_scope | curr_scope (void) const |
bool | empty (void) const |
symbol_scope | parent_scope (void) const |
void | pop (void) |
void | push (const symbol_scope &scope) |
std::size_t | size (void) const |
Private Attributes | |
std::deque< symbol_scope > | m_frame_stack |
interpreter & | m_interpreter |
|
inline |
|
inline |
void lexical_feedback::symbol_table_context::clear | ( | void | ) |
Definition at line 5075 of file lex.cc.
References m_frame_stack.
Referenced by lexical_feedback::reset(), and base_lexer::reset().
symbol_scope lexical_feedback::symbol_table_context::curr_scope | ( | void | ) | const |
Definition at line 5091 of file lex.cc.
References interpreter::get_current_scope(), and lexical_feedback::m_interpreter.
Referenced by base_parser::make_anon_fcn_handle(), base_parser::make_classdef(), base_parser::make_fcn_name(), base_parser::make_identifier(), base_parser::make_script(), lexical_feedback::mark_as_variable(), lexical_feedback::mark_as_variables(), base_parser::push_fcn_symtab(), and base_parser::start_function().
|
inline |
symbol_scope lexical_feedback::symbol_table_context::parent_scope | ( | void | ) | const |
Definition at line 5100 of file lex.cc.
Referenced by base_parser::make_anon_fcn_handle().
void lexical_feedback::symbol_table_context::pop | ( | void | ) |
Definition at line 5082 of file lex.cc.
References panic_impossible.
Referenced by base_parser::make_anon_fcn_handle(), base_parser::make_classdef(), base_parser::make_script(), octave_push_parse(), and base_parser::recover_from_parsing_function().
|
inline |
Definition at line 75 of file lex.h.
Referenced by octave_push_parse(), and base_parser::push_fcn_symtab().
|
inline |
|
private |
|
private |