| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | errorHandler.h | 22 #include "util/errorLogger.h" 28 explicit ErrorHandler(const parser::Program *program, util::ErrorLogger *errorLogger) in ErrorHandler() argument 29 : program_(program), errorLogger_(errorLogger) in ErrorHandler() 35 static void LogSyntaxError(util::ErrorLogger *errorLogger, const parser::Program *program, 40 util::ErrorLogger *errorLogger_;
|
| D | errorHandler.cpp | 29 void ErrorHandler::LogSyntaxError(util::ErrorLogger *errorLogger, const parser::Program *program, in LogSyntaxError() argument 32 ErrorHandler(program, errorLogger).LogSyntaxError(errorMessage, pos); in LogSyntaxError()
|
| D | errorLogger.h | 23 class ErrorLogger { 25 explicit ErrorLogger() : ostream_(&std::cout) {} in ErrorLogger() function
|
| D | errorLogger.cpp | 16 #include "errorLogger.h" 21 void ErrorLogger::WriteLog(Error &&error) in WriteLog()
|
| /arkcompiler/ets_frontend/ets2panda/lexer/ |
| D | ASLexer.h | 24 explicit ASLexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger) in ASLexer() argument 25 : Lexer(parserContext, errorLogger, false) in ASLexer()
|
| D | TSLexer.h | 24 explicit TSLexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger) in TSLexer() argument 25 : Lexer(parserContext, errorLogger, false) in TSLexer()
|
| D | ETSLexer.h | 25 explicit ETSLexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger) in ETSLexer() argument 26 : Lexer(parserContext, errorLogger, false) in ETSLexer()
|
| D | lexer.h | 117 …explicit Lexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger, bool st… 140 const util::ErrorLogger *ErrorLogger() in ErrorLogger() function 346 util::ErrorLogger *const errorLogger_;
|
| D | lexer.cpp | 23 Lexer::Lexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger, bool start… in Lexer() argument 28 errorLogger_(errorLogger) in Lexer()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
| D | importExportDecls.cpp | 107 util::ErrorHandler::LogSyntaxError(parser_->ErrorLogger(), varbinder_->Program(), in HandleGlobalStmts() 112 util::ErrorHandler::LogSyntaxError(parser_->ErrorLogger(), varbinder_->Program(), in HandleGlobalStmts() 129 util::ErrorHandler::LogSyntaxError(parser_->ErrorLogger(), varbinder_->Program(), in PopulateAliasMap() 147 parser_->ErrorLogger(), varbinder_->Program(), in HandleSelectiveExportWithAlias() 160 parser_->ErrorLogger(), varbinder_->Program(), in HandleSelectiveExportWithAlias() 212 parser_->ErrorLogger(), varbinder_->Program(), in VisitExportNamedDeclaration() 241 parser_->ErrorLogger(), program, in HandleSimpleType() 246 util::ErrorHandler::LogSyntaxError(parser_->ErrorLogger(), program, in HandleSimpleType() 294 …util::ErrorHandler::LogSyntaxError(parser_->ErrorLogger(), program, "Can only type export class or… in VerifyType() 304 util::ErrorHandler::LogSyntaxError(parser_->ErrorLogger(), program, in VerifyType() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/ |
| D | checker.h | 23 #include "util/errorLogger.h" 198 util::ErrorLogger *ErrorLogger() in ErrorLogger() function 219 util::ErrorLogger errorLogger_;
|
| D | ETSchecker.cpp | 260 return !ErrorLogger()->IsAnyError(); in StartChecker() 295 if (ErrorLogger()->IsAnyError()) { in CheckProgram()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | compilerImpl.cpp | 200 compilerImpl->SetIsAnyError(context.checker->ErrorLogger()->IsAnyError() || in RunVerifierAndPhases() 201 context.parser->ErrorLogger()->IsAnyError()); in RunVerifierAndPhases() 235 compilerImpl->SetIsAnyError(context.checker->ErrorLogger()->IsAnyError() || in RunPhases() 236 context.parser->ErrorLogger()->IsAnyError()); in RunPhases() 312 if (!ParserErrorChecker(parser.ErrorLogger()->IsAnyError(), &program, compilerImpl, unit)) { in CreateCompiler()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | defaultParameterLowering.h | 25 util::ErrorLogger *logger);
|
| D | defaultParameterLowering.cpp | 31 util::ErrorLogger *logger) in HasDefaultParam() 352 util::ErrorLogger *logger = ctx->parser->ErrorLogger(); in Perform()
|
| /arkcompiler/ets_frontend/ets2panda/public/ |
| D | es2panda_lib.cpp | 264 res->checker->ErrorLogger()->SetOstream(nullptr); in CreateContext() 333 if (ctx->parser->ErrorLogger()->IsAnyError()) { in Parse() 334 handleError(ctx->parser->ErrorLogger()->Log()[0]); in Parse() 402 if (ctx->checker->ErrorLogger()->IsAnyError()) { in Check() 403 handleError(ctx->checker->ErrorLogger()->Log()[0]); in Check() 404 } else if (ctx->parser->ErrorLogger()->IsAnyError()) { in Check() 405 handleError(ctx->parser->ErrorLogger()->Log()[0]); in Check()
|
| D | cppToCTypes.yaml | 1908 name: 'ErrorLogger' 1920 reinterpret_cast<util::ErrorLogger |es2panda_arg.type.ptr_depth|>(|arg_name|); 1927 (reinterpret_cast<?const? util::ErrorLogger *>(ast))-> 1930 ctxAllocator->New<util::ErrorLogger>( 1937 name: 'ErrorLogger' 1948 auto |arg_name|E2p = *reinterpret_cast<util::ErrorLogger *>(|arg_name|);
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ |
| D | phase.cpp | 236 return !ctx->checker->ErrorLogger()->IsAnyError() && !ctx->parser->ErrorLogger()->IsAnyError(); in Apply()
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | parserImpl.h | 28 #include "util/errorLogger.h" 89 util::ErrorLogger *ErrorLogger() in ErrorLogger() function 545 util::ErrorLogger errorLogger_;
|
| D | ASparser.cpp | 84 auto lexer = std::make_unique<lexer::ASLexer>(&GetContext(), ErrorLogger()); in InitLexer()
|
| D | TSparser.cpp | 124 auto lexer = std::make_unique<lexer::TSLexer>(&GetContext(), ErrorLogger()); in InitLexer()
|
| D | ETSparser.cpp | 94 auto lexer = std::make_unique<lexer::ETSLexer>(&GetContext(), ErrorLogger()); in InitLexer()
|
| /arkcompiler/ets_frontend/ets2panda/ |
| D | CMakeLists.txt | 550 util/errorLogger.cpp
|
| D | BUILD.gn | 464 "util/errorLogger.cpp",
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
| D | scopesInitPhase.cpp | 18 #include "util/errorLogger.h" 413 util::ErrorHandler::LogSyntaxError(ctx_->parser->ErrorLogger(), Program(), errorMessage, pos); in LogSyntaxError()
|