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
octave_base_lexer::input_buffer Class Reference

#include "lex.h"

Collaboration diagram for octave_base_lexer::input_buffer:
Collaboration graph
[legend]

Public Member Functions

 input_buffer (void)
bool at_eof (void) const
int copy_chunk (char *buf, size_t max_size)
bool empty (void) const
void fill (const std::string &input, bool eof_arg)

Private Attributes

std::string buffer
size_t chars_left
bool eof
const charpos

Detailed Description

Definition at line 461 of file lex.h.

Constructor & Destructor Documentation

octave_base_lexer::input_buffer::input_buffer ( void  )
inline

Definition at line 465 of file lex.h.

Member Function Documentation

bool octave_base_lexer::input_buffer::at_eof ( void  ) const
inline

Definition at line 476 of file lex.h.

Referenced by octave_lexer::fill_flex_buffer(), and octave_push_lexer::fill_flex_buffer().

int octave_base_lexer::input_buffer::copy_chunk ( char buf,
size_t  max_size 
)

Definition at line 4696 of file lex.cc.

Referenced by octave_lexer::fill_flex_buffer(), and octave_push_lexer::fill_flex_buffer().

bool octave_base_lexer::input_buffer::empty ( void  ) const
inline

Definition at line 474 of file lex.h.

Referenced by octave_lexer::fill_flex_buffer(), and octave_push_lexer::fill_flex_buffer().

void octave_base_lexer::input_buffer::fill ( const std::string &  input,
bool  eof_arg 
)

Definition at line 4687 of file lex.cc.

References buffer, chars_left, eof, input(), and pos.

Referenced by octave_lexer::fill_flex_buffer(), and octave_push_lexer::fill_flex_buffer().

Member Data Documentation

std::string octave_base_lexer::input_buffer::buffer
private

Definition at line 480 of file lex.h.

Referenced by fill().

size_t octave_base_lexer::input_buffer::chars_left
private

Definition at line 482 of file lex.h.

Referenced by fill().

bool octave_base_lexer::input_buffer::eof
private

Definition at line 483 of file lex.h.

Referenced by fill().

const char* octave_base_lexer::input_buffer::pos
private

Definition at line 481 of file lex.h.

Referenced by fill().


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