GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "lex.h"
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 |
|
inline |
Definition at line 487 of file lex.h.
Referenced by octave_push_lexer::fill_flex_buffer().
Definition at line 4802 of file lex.cc.
Referenced by octave_lexer::fill_flex_buffer(), and octave_push_lexer::fill_flex_buffer().
|
inline |
Definition at line 485 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 4793 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().
|
private |
|
private |
|
private |
|
private |