GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
lexical_feedback::symbol_table_context Class Reference

#include "lex.h"

Collaboration diagram for lexical_feedback::symbol_table_context:
Collaboration graph
[legend]

Public Member Functions

 symbol_table_context (void)
void clear (void)
symbol_table::scope_id curr_scope (void) const
bool empty (void) const
void pop (void)
void push (symbol_table::scope_id scope=symbol_table::current_scope())

Private Attributes

std::stack
< symbol_table::scope_id
frame_stack

Detailed Description

Definition at line 48 of file lex.h.

Constructor & Destructor Documentation

lexical_feedback::symbol_table_context::symbol_table_context ( void  )
inline

Definition at line 52 of file lex.h.

Member Function Documentation

void lexical_feedback::symbol_table_context::clear ( void  )
inline

Definition at line 54 of file lex.h.

Referenced by octave_base_lexer::reset().

symbol_table::scope_id lexical_feedback::symbol_table_context::curr_scope ( void  ) const
inline
bool lexical_feedback::symbol_table_context::empty ( void  ) const
inline

Definition at line 60 of file lex.h.

void lexical_feedback::symbol_table_context::pop ( void  )
inline

Definition at line 62 of file lex.h.

References panic_impossible.

void lexical_feedback::symbol_table_context::push ( symbol_table::scope_id  scope = symbol_table::current_scope ())
inline

Definition at line 70 of file lex.h.

Member Data Documentation

std::stack<symbol_table::scope_id> lexical_feedback::symbol_table_context::frame_stack
private

Definition at line 82 of file lex.h.


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