bufSupply.hpp
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
core/worker/supply/srcSupply.hpp
"
5
6
namespace
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
}
by::bufSupply
Buffer-based source supply.
Definition:
bufSupply.hpp:10
by::bufSupply::onSupplySrc
void * onSupplySrc(parser &ps, void *scanner) const override
by::parser
Parser for byeol language source code.
Definition:
parser.hpp:43
by::srcSupply
Source code supply interface.
Definition:
srcSupply.hpp:15
srcSupply.hpp