Home | History | Annotate | Download | only in src

Lines Matching refs:Parser

24     flatbuffers::Parser &parser,
31 if (!parser.Parse(contents.c_str(), &include_directories[0],
33 Error(parser.error_, false, false);
67 " --allow-non-utf8 Pass non-UTF-8 input through parser and emit nonstandard\n"
238 flatbuffers::Parser conform_parser;
247 std::unique_ptr<flatbuffers::Parser> parser(new flatbuffers::Parser(opts));
259 parser->builder_.Clear();
260 parser->builder_.PushFlatBuffer(
269 if (!parser->file_identifier_.length()) {
275 parser->file_identifier_.c_str())) {
279 parser->file_identifier_ +
293 parser.reset(new flatbuffers::Parser(opts));
295 ParseFile(*parser.get(), *file_it, contents, include_directories);
297 auto err = parser->ConformTo(conform_parser);
301 parser->Serialize();
302 parser->file_extension_ = reflection::SchemaExtension();
310 parser->opts.lang = params_.generators[i].lang;
314 if (!params_.generators[i].generate(*parser.get(), output_path, filebase)) {
322 *parser.get(), output_path, *file_it);
329 if (!params_.generators[i].generateGRPC(*parser.get(), output_path,
342 if (opts.proto_mode) GenerateFBS(*parser.get(), output_path, filebase);
346 parser->MarkGenerated();