GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
base_lexer::input_buffer Class Reference

#include "lex.h"

Public Member Functions

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

Detailed Description

Definition at line 535 of file lex.h.

Constructor & Destructor Documentation

◆ input_buffer()

base_lexer::input_buffer::input_buffer ( )
inline

Definition at line 539 of file lex.h.

Member Function Documentation

◆ at_eof()

bool base_lexer::input_buffer::at_eof ( ) const
inline

Definition at line 552 of file lex.h.

Referenced by base_lexer::at_end_of_file().

◆ copy_chunk()

int base_lexer::input_buffer::copy_chunk ( char *  buf,
std::size_t  max_size,
bool  by_lines = false 
)

Definition at line 5193 of file lex.cc.

References error(), and len.

◆ empty()

bool base_lexer::input_buffer::empty ( ) const
inline

Definition at line 550 of file lex.h.

Referenced by base_lexer::at_end_of_buffer().

◆ fill()

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

Definition at line 5183 of file lex.cc.


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