Source code supply interface. More...
#include <srcSupply.hpp>
Public Member Functions | |
| virtual void * | onSupplySrc (parser &ps, void *scanner) const =0 |
Static Public Member Functions | |
| 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 | |
| void * | _scanString (parser &ps, const nchar *src, void *scanner) const |
Source code supply interface.
Abstract base for supplying source code to the parser from various sources.
|
static |
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.
| path | for single src file or directory including src files. |
Implemented in by::bufSupply, and by::fileSupply.