AALanguage
The best language for those who have nothing to do
Loading...
Searching...
No Matches
LibParser.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <fstream>
5
#include <vector>
6
#include <sstream>
7
#include <unordered_set>
8
10
class
LibParser
{
11
public
:
17
LibParser
(std::string libs_);
25
bool
add_lib
(std::string name);
33
std::string
parse_lib
(std::string name);
41
std::string
name_to_path
(std::string name);
42
private
:
43
std::string
libs
;
44
std::unordered_set<std::string>
used
;
45
46
std::vector<std::string>
split
(
const
std::string& s,
char
delim);
47
std::string
slurp
(std::ifstream& in);
48
};
D:
GitHub
AALanguage2
AALanguage
LibParser.h
Generated by
1.10.0