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 Types | Private Attributes | List of all members
lexical_feedback::bbp_nesting_level Class Reference

#include "lex.h"

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

Public Member Functions

 bbp_nesting_level (void)
 bbp_nesting_level (const bbp_nesting_level &nl)
 ~bbp_nesting_level (void)
void anon_fcn_body (void)
void brace (void)
void bracket (void)
void clear (void)
bool is_anon_fcn_body (void)
bool is_brace (void)
bool is_bracket (void)
bool is_bracket_or_brace (void)
bool is_paren (void)
bool none (void)
bbp_nesting_leveloperator= (const bbp_nesting_level &nl)
void paren (void)
void remove (void)
void reset (void)

Private Types

enum  bracket_type { BRACKET = 1, BRACE = 2, PAREN = 3, ANON_FCN_BODY = 4 }

Private Attributes

std::stack< intcontext

Detailed Description

Definition at line 87 of file lex.h.

Member Enumeration Documentation

Enumerator:
BRACKET 
BRACE 
PAREN 
ANON_FCN_BODY 

Definition at line 91 of file lex.h.

Constructor & Destructor Documentation

lexical_feedback::bbp_nesting_level::bbp_nesting_level ( void  )
inline

Definition at line 101 of file lex.h.

lexical_feedback::bbp_nesting_level::bbp_nesting_level ( const bbp_nesting_level nl)
inline

Definition at line 103 of file lex.h.

lexical_feedback::bbp_nesting_level::~bbp_nesting_level ( void  )
inline

Definition at line 113 of file lex.h.

Member Function Documentation

void lexical_feedback::bbp_nesting_level::anon_fcn_body ( void  )
inline

Definition at line 142 of file lex.h.

References context.

void lexical_feedback::bbp_nesting_level::brace ( void  )
inline

Definition at line 128 of file lex.h.

References context.

void lexical_feedback::bbp_nesting_level::bracket ( void  )
inline

Definition at line 121 of file lex.h.

References context.

void lexical_feedback::bbp_nesting_level::clear ( void  )
inline

Definition at line 163 of file lex.h.

References context.

bool lexical_feedback::bbp_nesting_level::is_anon_fcn_body ( void  )
inline

Definition at line 144 of file lex.h.

References context.

bool lexical_feedback::bbp_nesting_level::is_brace ( void  )
inline

Definition at line 130 of file lex.h.

References context.

Referenced by octave_base_lexer::whitespace_is_significant().

bool lexical_feedback::bbp_nesting_level::is_bracket ( void  )
inline

Definition at line 123 of file lex.h.

References context.

Referenced by octave_base_lexer::whitespace_is_significant().

bool lexical_feedback::bbp_nesting_level::is_bracket_or_brace ( void  )
inline

Definition at line 149 of file lex.h.

References context.

bool lexical_feedback::bbp_nesting_level::is_paren ( void  )
inline

Definition at line 137 of file lex.h.

References context.

bool lexical_feedback::bbp_nesting_level::none ( void  )
inline

Definition at line 155 of file lex.h.

References context.

Referenced by octave_base_lexer::finish_comment(), and octave_base_lexer::handle_close_bracket().

bbp_nesting_level& lexical_feedback::bbp_nesting_level::operator= ( const bbp_nesting_level nl)
inline

Definition at line 105 of file lex.h.

References context, and context.

void lexical_feedback::bbp_nesting_level::paren ( void  )
inline

Definition at line 135 of file lex.h.

References context.

void lexical_feedback::bbp_nesting_level::remove ( void  )
inline

Definition at line 157 of file lex.h.

References context.

Referenced by octave_base_lexer::handle_close_bracket().

void lexical_feedback::bbp_nesting_level::reset ( void  )
inline

Definition at line 115 of file lex.h.

References context.

Referenced by lexical_feedback::reset().

Member Data Documentation

std::stack<int> lexical_feedback::bbp_nesting_level::context
private

Definition at line 171 of file lex.h.

Referenced by operator=().


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