Home | History | Annotate | Download | only in init

Lines Matching defs:Parser

17 #include "parser.h"
32 Parser::Parser() {}
34 void Parser::AddSectionParser(const std::string& name, std::unique_ptr<SectionParser> parser) {
35 section_parsers_[name] = std::move(parser);
38 void Parser::AddSingleLineParser(const std::string& prefix, LineCallback callback) {
42 void Parser::ParseData(const std::string& filename, const std::string& data, size_t* parse_errors) {
43 // TODO: Use a parser with const input and remove this copy
117 bool Parser::ParseConfigFile(const std::string& path, size_t* parse_errors) {
136 bool Parser::ParseConfigDir(const std::string& path, size_t* parse_errors) {
163 bool Parser::ParseConfig(const std::string& path) {
168 bool Parser::ParseConfig(const std::string& path, size_t* parse_errors) {