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

#include "lex.h"

Collaboration diagram for octave::lexical_feedback::symbol_table_context:

Public Member Functions

 symbol_table_context (void)
 
 ~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_scopem_frame_stack
 

Detailed Description

Definition at line 55 of file lex.h.

Constructor & Destructor Documentation

◆ symbol_table_context()

octave::lexical_feedback::symbol_table_context::symbol_table_context ( void  )
inline

Definition at line 59 of file lex.h.

◆ ~symbol_table_context()

octave::lexical_feedback::symbol_table_context::~symbol_table_context ( void  )
inline

Definition at line 62 of file lex.h.

Member Function Documentation

◆ clear()

void octave::lexical_feedback::symbol_table_context::clear ( void  )

◆ curr_scope()

symbol_scope octave::lexical_feedback::symbol_table_context::curr_scope ( void  ) const

◆ empty()

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

Definition at line 66 of file lex.h.

◆ parent_scope()

symbol_scope octave::lexical_feedback::symbol_table_context::parent_scope ( void  ) const

◆ pop()

void octave::lexical_feedback::symbol_table_context::pop ( void  )

◆ push()

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

Definition at line 72 of file lex.h.

◆ size()

size_t octave::lexical_feedback::symbol_table_context::size ( void  ) const
inline

Definition at line 68 of file lex.h.

Member Data Documentation

◆ m_frame_stack

std::deque<symbol_scope> octave::lexical_feedback::symbol_table_context::m_frame_stack
private

Definition at line 82 of file lex.h.


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