/arkcompiler/ets_frontend/es2panda/parser/program/ |
H A D | program.h | 130 sourceCode_ = util::UString(sourceCode, Allocator()); in SetSource() 131 sourceFile_ = util::UString(sourceFile, Allocator()); in SetSource() 138 recordName_ = util::UString(recordName, Allocator()); in SetRecordName() 140 formatedRecordName_ = util::UString(formatedRecordName, Allocator()); in SetRecordName() 245 util::UString sourceCode_ {}; 246 util::UString sourceFile_ {}; 247 util::UString recordName_ {}; 248 util::UString formatedRecordName_ {};
|
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | importPathManager.cpp | 53 auto resolvedPath = UString(currentDirectory, allocator_); in ResolvePath() 64 return AppendExtensionOrIndexFileIfOmitted(UString(baseUrl, allocator_).View()); in ResolvePath() 86 return AppendExtensionOrIndexFileIfOmitted(UString(resolvedPath.value(), allocator_).View()); in ResolvePath() 94 return UString(baseUrl, allocator_).View(); in ResolvePath() 119 AddToParseList(UString(filePath, allocator_).View(), importFlags); in UnixWalkThroughDirectoryAndAddToParseList() 142 AddToParseList(UString(entry.path().string(), allocator_).View(), importFlags); in AddToParseList() 244 return UString(realPath, allocator_).View(); in GetRealPath() 260 return GetRealPath(UString(indexFilePath, allocator_).View()); in AppendExtensionOrIndexFileIfOmitted() 272 return GetRealPath(UString(path.Mutf8().append(extension), allocator_).View()); in AppendExtensionOrIndexFileIfOmitted()
|
H A D | ustring.h | 247 class UString { class 249 UString() = default; 250 explicit UString(ArenaAllocator *allocator) : allocator_(allocator) {} in UString() function in ark::es2panda::util::UString 251 explicit UString(const std::string &str, ArenaAllocator *allocator) : UString(allocator) in UString() function in ark::es2panda::util::UString 257 explicit UString(const std::string_view &str, ArenaAllocator *allocator) : UString(allocator) in UString() function in ark::es2panda::util::UString 263 explicit UString(const util::StringView &str, ArenaAllocator *allocator) : UString(str.Utf8(), allocator) {} in UString() function in ark::es2panda::util::UString 265 DEFAULT_COPY_SEMANTIC(UString); [all...] |
H A D | path.cpp | 34 path_ = util::UString(path, allocator).View(); in Initializer() 39 absolutePath_ = util::UString(os::GetAbsolutePath(path_.Utf8()), allocator_).View(); in Initializer() 103 basePath_ = util::UString(basePath.substr(0, basePath.length() - 1), allocator_).View(); in InitializeBasePath() 105 basePath_ = util::UString(basePath, allocator_).View(); in InitializeBasePath()
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | tsBinding.h | 27 class TSBinding : public util::UString { 30 : util::UString(std::string {TS_PREFIX}, allocator) in TSBinding()
|
H A D | privateBinding.h | 22 class PrivateBinding : public util::UString { 25 : util::UString(std::string {PRIVATE_PREFIX}, allocator) in PrivateBinding()
|
H A D | recordTable.cpp | 79 return util::UString(moduleName.Mutf8() + compiler::Signatures::METHOD_SEPARATOR.data() + in FormRecordName() 85 util::UString recordName(recordTable_->program_->Allocator()); in FormRecordName()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | tsBinding.h | 27 class TSBinding : public util::UString { 30 : util::UString(std::string {TS_PREFIX}, allocator) in TSBinding()
|
H A D | scope.cpp | 289 return util::UString(scopeName.str(), allocator_).View(); in GetSelfScopeName() 294 return util::UString(scopeName.str(), allocator_).View(); in GetSelfScopeName() 297 return util::UString(scopeName.str(), allocator_).View(); in GetSelfScopeName() 302 return util::UString(util::Helpers::CLASS_SCOPE_TAG.data(), allocator_).View(); in GetScopeTag() 396 fullScopeName_ = util::UString(fullScopeName.str(), allocator_).View(); in SetFullScopeNames() 579 internalName_ = util::UString(internalName.str(), allocator_).View(); in BindNameWithScopeInfo() 624 return util::UString(util::Helpers::CTOR_TAG.data(), allocator_).View(); in GetScopeTag() 630 return util::UString(util::Helpers::STATIC_METHOD_TAG.data(), allocator_).View(); in GetScopeTag() 632 return util::UString(util::Helpers::METHOD_TAG.data(), allocator_).View(); in GetScopeTag() 634 return util::UString(uti in GetScopeTag() [all...] |
/arkcompiler/ets_frontend/es2panda/util/ |
H A D | ustring.h | 267 class UString { class 269 UString() = default; 270 explicit UString(ArenaAllocator *allocator) : allocator_(allocator) {} in UString() function in panda::es2panda::util::UString 271 explicit UString(const std::string &str, ArenaAllocator *allocator) : UString(allocator) in UString() function in panda::es2panda::util::UString 277 DEFAULT_COPY_SEMANTIC(UString); 278 DEFAULT_MOVE_SEMANTIC(UString); 279 ~UString() = default;
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
H A D | globalClassHandler.h | 75 util::UString ReplaceSpecialCharacters(util::UString *word) const;
|
H A D | globalClassHandler.cpp | 153 util::UString GlobalClassHandler::ReplaceSpecialCharacters(util::UString *word) const in ReplaceSpecialCharacters() 207 return util::UString(text, allocator_); in ReplaceSpecialCharacters()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ |
H A D | util.cpp | 43 util::UString const s = GenName(allocator); in Gensym() 47 util::UString GenName(ArenaAllocator *const allocator) in GenName() 52 return util::UString {GENSYM_CORE + std::to_string(++gensymCounter), allocator}; in GenName()
|
H A D | util.h | 28 util::UString GenName(ArenaAllocator *allocator);
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSFormattedParser.cpp | 266 util::UString source {sourceCode, Allocator()}; in CreateStatement() 304 util::UString source {sourceCode, Allocator()}; in CreateStatements() 370 util::UString source {sourceCode, Allocator()}; in CreateClassElement() 394 util::UString source {sourceCode, Allocator()}; in CreateClassDeclaration() 436 util::UString source {sourceCode, Allocator()}; in CreateConstructorDefinition() 467 util::UString source {sourceCode, Allocator()}; in CreateExpression() 499 util::UString source {sourceCode, Allocator()}; in CreateTopLevelStatement() 519 util::UString source {sourceCode, Allocator()}; in CreateTypeAnnotation()
|
/arkcompiler/ets_frontend/ets2panda/parser/program/ |
H A D | program.h | 195 sourceCode_ = util::UString(sourceFile.source, Allocator()).View(); in SetSource() 197 sourceFileFolder_ = util::UString(sourceFile.fileFolder, Allocator()).View(); in SetSource() 198 resolvedFilePath_ = util::UString(sourceFile.resolvedPath, Allocator()).View(); in SetSource()
|
/arkcompiler/ets_frontend/ets2panda/ir/ets/ |
H A D | etsReExportDeclaration.cpp | 30 userPaths_.emplace_back(util::UString(path, allocator).View()); in ETSReExportDeclaration()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | enumLowering.h | 32 static util::UString GetEnumClassName(checker::ETSChecker *checker, const ir::TSEnumDeclaration *const enumDecl); 61 static void AppendParentNames(util::UString &qualifiedName, const ir::AstNode *const node);
|
H A D | interfaceObjectLiteralLowering.cpp | 62 util::UString fieldName(std::string("_"), allocator); in CreateAnonClassField() 104 util::UString fieldName(std::string("_"), allocator); in CreateAnonClassFieldGetterSetter() 209 util::UString className(util::StringView("$anonymous_class$"), checker->Allocator()); in GenerateAnonClassTypeFromInterface()
|
/arkcompiler/ets_frontend/ets2panda/ir/ts/ |
H A D | tsQualifiedName.cpp | 85 util::UString packageName(allocator); in ToString() 108 util::UString packageName(allocator); in BaseToString()
|
/arkcompiler/ets_frontend/es2panda/lexer/ |
H A D | lexer.h | 59 util::UString str; 156 void ScanStringUnicodePart(util::UString *str); 217 util::UString str(Allocator()); in ScanString()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | dynamic.cpp | 125 util::UString paramName("p" + std::to_string(i), Allocator()); in CreateDynamicCallIntrinsic() 215 map.emplace(util::UString(key, Allocator()).View(), method->Function()); in ResolveDynamicCallExpression() 416 util::UString(ark::os::RemoveExtension(import->ResolvedSource()->Str().Mutf8()), Allocator()).View())); in ClassInitializerFromImport() 496 util::UString thisParamName(std::string("this"), Allocator()); 505 util::UString(std::string("p") + std::to_string(callParams.size()), Allocator()).View(); 588 import->AssemblerName() = util::UString(assemblyName, Allocator()).View(); 617 util::UString jsvalueParamName(std::string("jsvalue_param"), Allocator());
|
H A D | typeCreation.cpp | 129 arrayType->SetAssemblerName(util::UString(ss.str(), Allocator()).View()); in CreateETSArrayType() 575 util::UString localName(declNode->AsClassDefinition()->LocalPrefix(), Allocator()); in CreateNewETSObjectType() 595 util::UString(prefix.Mutf8() + compiler::Signatures::METHOD_SEPARATOR.data() + assemblerName.Mutf8(), in CreateNewETSObjectType() 622 util::UString param(std::to_string(i), Allocator()); in CreateBuiltinArraySignatureInfo() 634 auto internalName = util::UString(ss.str(), Allocator()).View(); in CreateBuiltinArraySignatureInfo()
|
/arkcompiler/ets_frontend/ets2panda/evaluate/ |
H A D | debugInfoStorage.cpp | 157 util::UString sourceFilePath(std::string_view(context.extractor->GetSourceFile(methodId)), allocator_); in FillEvaluateContext() 201 auto recordNameView = util::UString(recordName, allocator_).View(); in LazyLoadRecords()
|
/arkcompiler/ets_frontend/ets2panda/lexer/ |
H A D | lexer.h | 96 util::UString str; 271 void ScanStringUnicodePart(util::UString *str); 351 util::UString str(Allocator()); in ScanString()
|