GNU Octave  4.2.1
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

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 char * pos

Detailed Description

Definition at line 478 of file lex.h.

Constructor & Destructor Documentation

octave::base_lexer::input_buffer::input_buffer ( void  )

Definition at line 482 of file lex.h.

Member Function Documentation

bool octave::base_lexer::input_buffer::at_eof ( void  ) const

Definition at line 493 of file lex.h.

int octave::base_lexer::input_buffer::copy_chunk ( char *  buf,
size_t  max_size 

Definition at line 4801 of file

Referenced by octave::push_lexer::fill_flex_buffer().

bool octave::base_lexer::input_buffer::empty ( void  ) const

Definition at line 491 of file lex.h.

Referenced by octave::push_lexer::fill_flex_buffer().

void octave::base_lexer::input_buffer::fill ( const std::string input,
bool  eof_arg 

Definition at line 4792 of file

Referenced by octave::push_lexer::fill_flex_buffer().

Member Data Documentation

std::string octave::base_lexer::input_buffer::buffer

Definition at line 497 of file lex.h.

size_t octave::base_lexer::input_buffer::chars_left

Definition at line 499 of file lex.h.

bool octave::base_lexer::input_buffer::eof

Definition at line 500 of file lex.h.

const char* octave::base_lexer::input_buffer::pos

Definition at line 498 of file lex.h.

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