Home
last modified time | relevance | path

Searched refs:SourceFilePath (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DproxyProgramsCache.cpp33 auto filePath = program->SourceFilePath(); in AddProgram()
/arkcompiler/ets_frontend/ets2panda/util/
H A DerrorHandler.cpp25 throw Error {ErrorType::SYNTAX, program_->SourceFilePath().Utf8(), errorMessage, loc.line, loc.col}; in ThrowSyntaxError()
/arkcompiler/ets_frontend/ets2panda/checker/
H A Dchecker.cpp88 throw Error {ErrorType::TYPE, program_->SourceFilePath().Utf8(), message, loc.line, loc.col}; in ThrowTypeError()
101 errorLogger_.WriteLog(Error {ErrorType::TYPE, program_->SourceFilePath().Utf8(), message, loc.line, loc.col}); in LogTypeError()
110 auto fileName = program_->SourceFilePath().Utf8(); in Warning()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DdefaultParameterLowering.h31 throw Error {ErrorType::SYNTAX, program->SourceFilePath().Utf8(), errorMessage, loc.line, loc.col}; in ThrowSyntaxError()
H A DpackageImplicitImport.cpp80 return prog->SourceFilePath() == stmt->AsETSImportDeclaration()->ResolvedSource()->Str(); in ValidateImportDeclarationsSourcePath()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
H A DtopLevelStmts.cpp33 ss << std::endl << " at " << p->SourceFilePath().Mutf8(); in CheckSourceConsistency()
H A DimportExportDecls.cpp97 PopulateAliasMap(stmt->AsExportNamedDeclaration(), program->SourceFilePath()); in HandleGlobalStmts()
102 util::StringView originalName = varbinder_->FindNameInAliasMap(program->SourceFilePath(), exportName); in HandleGlobalStmts()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSNolintParser.cpp249 throw Error {ErrorType::SYNTAX, parser_->GetProgram()->SourceFilePath().Utf8(), msg.c_str(), line_ + 1, 0}; in ParseETSNolintArgs()
253 throw Error {ErrorType::SYNTAX, parser_->GetProgram()->SourceFilePath().Utf8(), msg.c_str(), line_ + 1, 0}; in ParseETSNolintArgs()
H A DETSparser.cpp105 if (GetProgram()->SourceFilePath().Utf8()[0] == '@') { in ParseProgram()
258 if (GetProgram()->SourceFilePath().Is(parseList[idx].sourcePath.Mutf8())) { in ParseSources()
1038 GetProgram()->SourceFilePath(), Allocator()); in ParseExport()
1213 auto fileName = GetProgram()->SourceFilePath().Mutf8(); in ParseNamedSpecifiers()
1915 importPathManager_->MarkAsParsed(globalProgram_->SourceFilePath()); in AddPackageSourcesToParseList()
1948 savedSourceFile_(parser_->GetProgram()->SourceFilePath()), in InnerSourceParser()
H A DparserImpl.cpp1258 throw Error {ErrorType::SYNTAX, program_->SourceFilePath().Utf8(), errorMessage, loc.line, loc.col}; in ThrowSyntaxError()
1296 Error {ErrorType::SYNTAX, program_->SourceFilePath().Utf8(), errorMessage, loc.line, loc.col}); in LogSyntaxError()
1301 throw Error(ErrorType::GENERIC, program_->SourceFilePath().Utf8(), message); in ThrowAllocationError()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DcompilerImpl.cpp156 astToCheck.insert(std::make_pair(p.SourceFilePath(), p.Ast())); in ExtractAst()
160 astToCheck.insert(std::make_pair(external->SourceFilePath(), external->Ast())); in ExtractAst()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DetsWarningAnalyzer.cpp391 throw Error(ErrorType::ETS_WARNING, ark::es2panda::util::BaseName(program_->SourceFilePath().Utf8()), message, in ETSThrowWarning()
396 << " [" << ark::es2panda::util::BaseName(program_->SourceFilePath().Utf8()) << ":" << location.line << ":" in ETSThrowWarning()
H A Dhelpers.cpp1334 VarBinder()->AsETSBinder()->GetSelectiveExportAliasMultimap().find(Program()->SourceFilePath()); in FindPropNameForNamespaceImport()
/arkcompiler/ets_frontend/ets2panda/parser/program/
H A Dprogram.h105 const util::StringView &SourceFilePath() const in SourceFilePath() function in ark::es2panda::ark::es2panda::ark::es2panda::parser::Program
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
H A DdeclgenEts2Ts.cpp111 throw Error {ErrorType::GENERIC, program_->SourceFilePath().Utf8(), "declgen ets2ts: " + std::string(message), in ThrowError()
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dvarbinder.cpp136 throw Error(ErrorType::SYNTAX, program_->SourceFilePath().Utf8(), msg, loc.line, loc.col); in ThrowError()
/arkcompiler/ets_frontend/ets2panda/lexer/
H A Dlexer.cpp218 throw Error(es2panda::ErrorType::SYNTAX, parserContext_->GetProgram()->SourceFilePath().Utf8(), message, loc.line, in ThrowError()

Completed in 18 milliseconds