• Home
  • Raw
  • Download

Lines Matching full:diagnosticengine

250     auto diagnosticEngine = new util::DiagnosticEngine();  in CreateConfig()  local
251 auto *options = new util::Options(argv[0], *diagnosticEngine); in CreateConfig()
261 res->diagnosticEngine = diagnosticEngine; in CreateConfig()
276 cfg->diagnosticEngine->FlushDiagnostic(); in DestroyConfig()
277 delete cfg->diagnosticEngine; in DestroyConfig()
289 ES2PANDA_ASSERT(cfg->diagnosticEngine != nullptr); in GetAllErrorMessages()
290 auto allMessages = cfg->diagnosticEngine->PrintAndFlushErrorDiagnostic(); in GetAllErrorMessages()
322 …->parser = new parser::ETSParser(res->parserProgram, *res->config->options, *res->diagnosticEngine, in InitializeContext()
326 res->checker = res->allocator->New<checker::ETSChecker>(*res->diagnosticEngine, res->allocator); in InitializeContext()
352 res->diagnosticEngine = cfg->diagnosticEngine; in InitContext()
357 res->diagnosticEngine = cfg->diagnosticEngine; in InitContext()
378 res->diagnosticEngine = cfg->diagnosticEngine; in CreateContext()
380 …new parser::ETSParser(res->parserProgram, *cfg->options, *cfg->diagnosticEngine, parser::ParserSta… in CreateContext()
382 res->checker = new checker::ETSChecker(*res->diagnosticEngine); in CreateContext()
383 …res->isolatedDeclgenChecker = new checker::IsolatedDeclgenChecker(*res->diagnosticEngine, *(res->p… in CreateContext()
531 … ctx->state = !ctx->diagnosticEngine->IsAnyError() ? ES2PANDA_STATE_CHECKED : ES2PANDA_STATE_ERROR; in Check()
549 … ctx->state = !ctx->diagnosticEngine->IsAnyError() ? ES2PANDA_STATE_LOWERED : ES2PANDA_STATE_ERROR; in Lower()
582 …ctx->state = !ctx->diagnosticEngine->IsAnyError() ? ES2PANDA_STATE_ASM_GENERATED : ES2PANDA_STATE_… in GenerateAsm()
601 ctx->diagnosticEngine->LogDiagnostic(kind, params); in GenerateBin()
603 …ctx->state = !ctx->diagnosticEngine->IsAnyError() ? ES2PANDA_STATE_BIN_GENERATED : ES2PANDA_STATE_… in GenerateBin()
840 auto suggestion = ctx->diagnosticEngine->CreateSuggestion(suggestionkind, suggestionParams, in LogDiagnosticWithSuggestion()
842 ctx->diagnosticEngine->LogDiagnostic(*diagnostickind, diagnosticParams, *posE2p, suggestion); in LogDiagnosticWithSuggestion()
855 ctx->diagnosticEngine->LogDiagnostic(*kind, params, *posE2p); in LogDiagnostic()
862 …return reinterpret_cast<const es2panda_DiagnosticStorage *>(&ctx->diagnosticEngine->GetDiagnosticS… in GetDiagnostics()
892 return reinterpret_cast<Context *>(context)->diagnosticEngine->IsAnyError(); in IsAnyError()
956 …context->state = !context->diagnosticEngine->IsAnyError() ? ES2PANDA_STATE_CHECKED : ES2PANDA_STAT… in AstNodeRecheck()
1131 …compiler::HandleGenerateDecl(*ctxImpl->parserProgram, *ctxImpl->diagnosticEngine, outputPath, fals… in GenerateStaticDeclarationsFromContext()
1133 return ctxImpl->diagnosticEngine->IsAnyError() ? 1 : 0; in GenerateStaticDeclarationsFromContext()