fileSupply.hpp
Go to the documentation of this file.
1
2#pragma once
3
5
6namespace by {
7
11 class _nout fileSupply: public srcSupply {
12 BY(CLASS(fileSupply, srcSupply))
13
14 public:
15 fileSupply(const std::string& newPath);
16
17 public:
18 void* onSupplySrc(parser& ps, void* scanner) const override;
19
20 private:
21 std::string _path;
22 };
23}
File-based source supply.
Definition: fileSupply.hpp:11
void * onSupplySrc(parser &ps, void *scanner) const override
Parser for byeol language source code.
Definition: parser.hpp:43
Source code supply interface.
Definition: srcSupply.hpp:15