GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
lexical_feedback::symbol_table_context Class Reference

#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
 

Detailed Description

Definition at line 58 of file lex.h.

Constructor & Destructor Documentation

◆ symbol_table_context()

lexical_feedback::symbol_table_context::symbol_table_context ( interpreter interp)
inline

Definition at line 62 of file lex.h.

◆ ~symbol_table_context()

lexical_feedback::symbol_table_context::~symbol_table_context ( )
inline

Definition at line 67 of file lex.h.

Member Function Documentation

◆ clear()

void lexical_feedback::symbol_table_context::clear ( )

Definition at line 4987 of file lex.cc.

Referenced by lexical_feedback::reset(), and base_lexer::reset().

◆ curr_scope()

◆ empty()

bool lexical_feedback::symbol_table_context::empty ( ) const
inline

Definition at line 71 of file lex.h.

◆ parent_scope()

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().

◆ pop()

void lexical_feedback::symbol_table_context::pop ( )

◆ push()

void lexical_feedback::symbol_table_context::push ( const symbol_scope scope)
inline

Definition at line 77 of file lex.h.

Referenced by base_parser::push_fcn_symtab().

◆ size()

std::size_t lexical_feedback::symbol_table_context::size ( ) const
inline

Definition at line 73 of file lex.h.


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