Loading...
Searching...
No Matches
by::bufSupply Class Reference

Buffer-based source supply. More...

#include <bufSupply.hpp>

Inheritance diagram for by::bufSupply:
by::srcSupply

Public Member Functions

 bufSupply (const std::string &buf)
 
void * onSupplySrc (parser &ps, void *scanner) const override
 

Additional Inherited Members

- Static Public Member Functions inherited from by::srcSupply
static srcSupplies makeSuppliesFrom (const std::string &path)
 if the given path points to a file, a single fileSupply will be returned. otherwise this will traverse all sub folders to find byeol src files and return each fileSupplies matching them.
 
- Protected Member Functions inherited from by::srcSupply
void * _scanString (parser &ps, const nchar *src, void *scanner) const
 

Detailed Description

Buffer-based source supply.

Supplies source code from an in-memory string buffer to the parser.

Member Function Documentation

◆ onSupplySrc()

void * by::bufSupply::onSupplySrc ( parser & ps,
void * scanner ) const
overridevirtual
Returns
true if there is no more data to process.

Implements by::srcSupply.


The documentation for this class was generated from the following file:
to Top