GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
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 534 of file lex.h.

Constructor & Destructor Documentation

◆ input_buffer()

base_lexer::input_buffer::input_buffer ( )
inline

Definition at line 538 of file lex.h.

Member Function Documentation

◆ at_eof()

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

Definition at line 551 of file lex.h.

◆ copy_chunk()

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

Definition at line 5212 of file lex.cc.

References len.

◆ empty()

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

Definition at line 549 of file lex.h.

◆ fill()

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

Definition at line 5202 of file lex.cc.


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