Home | History | Annotate | Download | only in init

Lines Matching refs:Parser

24 #include "parser.h"
30 Parser::Parser() {
33 Parser& Parser::GetInstance() {
34 static Parser instance;
38 void Parser::AddSectionParser(const std::string& name,
39 std::unique_ptr<SectionParser> parser) {
40 section_parsers_[name] = std::move(parser);
43 void Parser::ParseData(const std::string& filename, const std::string& data) {
44 //TODO: Use a parser with const input and remove this copy
95 bool Parser::ParseConfigFile(const std::string& path) {
113 bool Parser::ParseConfigDir(const std::string& path) {
140 bool Parser::ParseConfig(const std::string& path) {
147 void Parser::DumpState() const {