#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) |
size_t | size (void) const |
Private Attributes | |
std::deque< symbol_scope > | m_frame_stack |
interpreter & | m_interpreter |
|
inline |
|
inline |
void octave::lexical_feedback::symbol_table_context::clear | ( | void | ) |
Definition at line 5028 of file lex.cc.
References m_frame_stack.
Referenced by octave::lexical_feedback::reset(), and octave::base_lexer::reset().
symbol_scope octave::lexical_feedback::symbol_table_context::curr_scope | ( | void | ) | const |
Definition at line 5044 of file lex.cc.
References octave::interpreter::get_current_scope(), and octave::lexical_feedback::m_interpreter.
Referenced by octave::base_lexer::handle_identifier(), octave::base_parser::make_anon_fcn_handle(), octave::base_parser::make_classdef(), octave::base_parser::make_fcn_name(), octave::base_parser::make_script(), octave::base_parser::push_fcn_symtab(), and octave::base_parser::start_function().
|
inline |
symbol_scope octave::lexical_feedback::symbol_table_context::parent_scope | ( | void | ) | const |
Definition at line 5053 of file lex.cc.
Referenced by octave::base_parser::make_anon_fcn_handle().
void octave::lexical_feedback::symbol_table_context::pop | ( | void | ) |
Definition at line 5035 of file lex.cc.
References panic_impossible.
Referenced by octave::base_parser::make_anon_fcn_handle(), octave::base_parser::make_classdef(), octave::base_parser::make_script(), and octave::base_parser::recover_from_parsing_function().
|
inline |
Definition at line 75 of file lex.h.
Referenced by octave::base_parser::push_fcn_symtab().
|
inline |
|
private |
|
private |