Home
last modified time | relevance | path

Searched full:errorlogger (Results 1 – 25 of 25) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/
DerrorHandler.h22 #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_;
DerrorHandler.cpp29 void ErrorHandler::LogSyntaxError(util::ErrorLogger *errorLogger, const parser::Program *program, in LogSyntaxError() argument
32 ErrorHandler(program, errorLogger).LogSyntaxError(errorMessage, pos); in LogSyntaxError()
DerrorLogger.h23 class ErrorLogger {
25 explicit ErrorLogger() : ostream_(&std::cout) {} in ErrorLogger() function
DerrorLogger.cpp16 #include "errorLogger.h"
21 void ErrorLogger::WriteLog(Error &&error) in WriteLog()
/arkcompiler/ets_frontend/ets2panda/lexer/
DASLexer.h24 explicit ASLexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger) in ASLexer() argument
25 : Lexer(parserContext, errorLogger, false) in ASLexer()
DTSLexer.h24 explicit TSLexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger) in TSLexer() argument
25 : Lexer(parserContext, errorLogger, false) in TSLexer()
DETSLexer.h25 explicit ETSLexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger) in ETSLexer() argument
26 : Lexer(parserContext, errorLogger, false) in ETSLexer()
Dlexer.h117 …explicit Lexer(const parser::ParserContext *parserContext, util::ErrorLogger *errorLogger, bool st…
140 const util::ErrorLogger *ErrorLogger() in ErrorLogger() function
346 util::ErrorLogger *const errorLogger_;
Dlexer.cpp23 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/
DimportExportDecls.cpp107 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/
Dchecker.h23 #include "util/errorLogger.h"
198 util::ErrorLogger *ErrorLogger() in ErrorLogger() function
219 util::ErrorLogger errorLogger_;
DETSchecker.cpp260 return !ErrorLogger()->IsAnyError(); in StartChecker()
295 if (ErrorLogger()->IsAnyError()) { in CheckProgram()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DcompilerImpl.cpp200 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/
DdefaultParameterLowering.h25 util::ErrorLogger *logger);
DdefaultParameterLowering.cpp31 util::ErrorLogger *logger) in HasDefaultParam()
352 util::ErrorLogger *logger = ctx->parser->ErrorLogger(); in Perform()
/arkcompiler/ets_frontend/ets2panda/public/
Des2panda_lib.cpp264 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()
DcppToCTypes.yaml1908 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/
Dphase.cpp236 return !ctx->checker->ErrorLogger()->IsAnyError() && !ctx->parser->ErrorLogger()->IsAnyError(); in Apply()
/arkcompiler/ets_frontend/ets2panda/parser/
DparserImpl.h28 #include "util/errorLogger.h"
89 util::ErrorLogger *ErrorLogger() in ErrorLogger() function
545 util::ErrorLogger errorLogger_;
DASparser.cpp84 auto lexer = std::make_unique<lexer::ASLexer>(&GetContext(), ErrorLogger()); in InitLexer()
DTSparser.cpp124 auto lexer = std::make_unique<lexer::TSLexer>(&GetContext(), ErrorLogger()); in InitLexer()
DETSparser.cpp94 auto lexer = std::make_unique<lexer::ETSLexer>(&GetContext(), ErrorLogger()); in InitLexer()
/arkcompiler/ets_frontend/ets2panda/
DCMakeLists.txt550 util/errorLogger.cpp
DBUILD.gn464 "util/errorLogger.cpp",
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
DscopesInitPhase.cpp18 #include "util/errorLogger.h"
413 util::ErrorHandler::LogSyntaxError(ctx_->parser->ErrorLogger(), Program(), errorMessage, pos); in LogSyntaxError()