#include "lex.h"
Public Member Functions | |
symbol_table_context (interpreter &interp) | |
~symbol_table_context () | |
void | clear () |
symbol_scope | curr_scope () const |
bool | empty () const |
symbol_scope | parent_scope () const |
void | pop () |
void | push (const symbol_scope &scope) |
std::size_t | size () const |
|
inline |
|
inline |
void lexical_feedback::symbol_table_context::clear | ( | ) |
Definition at line 4987 of file lex.cc.
Referenced by lexical_feedback::reset(), and base_lexer::reset().
symbol_scope lexical_feedback::symbol_table_context::curr_scope | ( | ) | const |
Definition at line 5003 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 | ( | ) | const |
Definition at line 5012 of file lex.cc.
References symbol_scope::invalid().
Referenced by base_parser::make_anon_fcn_handle().
void lexical_feedback::symbol_table_context::pop | ( | ) |
Definition at line 4994 of file lex.cc.
References panic_impossible.
Referenced by base_parser::make_anon_fcn_handle(), base_parser::make_classdef(), base_parser::make_script(), and base_parser::recover_from_parsing_function().
|
inline |
Definition at line 77 of file lex.h.
Referenced by base_parser::push_fcn_symtab().
|
inline |