loom
1/*
2MIT License
3
4Copyright (c) 2021 МГТУ им. Н.Э. Баумана, кафедра ИУ-6, Михаил Фетисов,
5
6https://bmstu.codes/lsx/simodo
7*/
8
9#include "simodo/inout/token/FileStream.h"
10
11#include "simodo/inout/convert/functions.h"
12
13#include <cassert>
14#include <cstdint>
15
16namespace simodo::inout
17{
18
19FileStream::FileStream(const std::string & path)
20: InputStream(_in)
21{
22_in.open(SIMODO_INOUT_STD_STRING(path));
23}
24
25}