bufSupply.hpp
Go to the documentation of this file.
1
2#pragma once
3
5
6namespace by {
10 class _nout bufSupply: public srcSupply {
11 BY(CLASS(bufSupply, srcSupply))
12
13 public:
14 bufSupply(const std::string& buf);
15
16 public:
17 void* onSupplySrc(parser& ps, void* scanner) const override;
18
19 private:
20 std::string _buf;
21 };
22}
Buffer-based source supply.
Definition: bufSupply.hpp:10
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