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

File-based source supply. More...

#include <fileSupply.hpp>

Inheritance diagram for by::fileSupply:
by::srcSupply

Public Member Functions

 fileSupply (const std::string &newPath)
 
void * onSupplySrc (parser &ps, void *scanner) const override
 
const std::string & getPath () const
 

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

File-based source supply.

Supplies source code from a file path to the parser.

Member Function Documentation

◆ onSupplySrc()

void * by::fileSupply::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