/arkcompiler/runtime_core/static_core/disassembler/ |
D | disasm_backed_debug_info_extractor.cpp | 78 return GetDisassembly(methodId).sourceCode.c_str(); in GetSourceCode() 125 std::ostringstream sourceCode; in GetDisassemblySourceName() local 127 disassembler_.Serialize(method, sourceCode, true, &lineTable); in GetDisassemblySourceName() 148 … .emplace(methodId, Disassembly {sourceCode.str(), std::move(lineTable), std::move(parameterInfo), in GetDisassemblySourceName()
|
D | disasm_backed_debug_info_extractor.h | 37 std::string sourceCode; member
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
D | ETSparser.h | 63 ir::Expression *CreateExpression(std::string_view sourceCode, 67 …ir::Expression *CreateFormattedExpression(std::string_view sourceCode, std::vector<ir::AstNode *> … 71 …ir::Expression *CreateFormattedExpression(std::string_view const sourceCode, std::string_view cons… in CreateFormattedExpression() argument 77 return CreateFormattedExpression(sourceCode, insertingNodes, fileName); in CreateFormattedExpression() 80 ArenaVector<ir::Statement *> CreateStatements(std::string_view sourceCode, 83 ArenaVector<ir::Statement *> CreateFormattedStatements(std::string_view sourceCode, 88 ArenaVector<ir::Statement *> CreateFormattedStatements(std::string_view const sourceCode, in CreateFormattedStatements() argument 93 return CreateFormattedStatements(sourceCode, insertingNodes, fileName); in CreateFormattedStatements() 351 …ir::Statement *CreateStatement(std::string_view sourceCode, std::string_view fileName = DEFAULT_SO… 352 …ir::Statement *CreateFormattedStatement(std::string_view sourceCode, std::vector<ir::AstNode *> &i… [all …]
|
D | ETSparser.cpp | 4959 ir::Statement *ETSParser::CreateStatement(std::string_view const sourceCode, std::string_view const… in CreateStatement() argument 4961 util::UString source {sourceCode, Allocator()}; in CreateStatement() 4984 ir::Statement *ETSParser::CreateFormattedStatement(std::string_view const sourceCode, in CreateFormattedStatement() argument 4989 auto const statement = CreateStatement(sourceCode, fileName); in CreateFormattedStatement() 4994 ArenaVector<ir::Statement *> ETSParser::CreateStatements(std::string_view const sourceCode, in CreateStatements() argument 4997 util::UString source {sourceCode, Allocator()}; in CreateStatements() 5005 ArenaVector<ir::Statement *> ETSParser::CreateFormattedStatements(std::string_view const sourceCode, in CreateFormattedStatements() argument 5010 auto statements = CreateStatements(sourceCode, fileName); in CreateFormattedStatements() 5015 … *ETSParser::CreateMethodDefinition(ir::ModifierFlags modifiers, std::string_view const sourceCode, in CreateMethodDefinition() argument 5018 util::UString source {sourceCode, Allocator()}; in CreateMethodDefinition() [all …]
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | debug_info_extractor.cpp | 250 static const std::string sourceCode = ""; in GetSourceCode() local 255 return sourceCode; in GetSourceCode() 257 return methods_[methodId.GetOffset()].sourceCode; in GetSourceCode() 260 return iter->second.sourceCode; in GetSourceCode() 308 const char *sourceCode = ""; in ExtractorMethodDebugInfo() local 310 sourceCode = reinterpret_cast<const char *>(handler.GetSourceCode()); in ExtractorMethodDebugInfo() 313 MethodDebugInfo methodDebugInfo = {sourceFile, sourceCode, handler.GetLineNumberTable(), in ExtractorMethodDebugInfo()
|
D | debug_info_extractor.h | 233 std::string sourceCode; member
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
D | astDump.cpp | 25 AstDumper::AstDumper(const ir::AstNode *node, util::StringView sourceCode) : index_(sourceCode) in AstDumper() argument 27 isSrcEmpty_ = sourceCode.Empty(); in AstDumper()
|
D | astDump.h | 192 explicit AstDumper(const ir::AstNode *node, util::StringView sourceCode = "");
|
/arkcompiler/runtime_core/static_core/libpandafile/ |
D | debug_info_updater-inl.h | 110 … std::string sourceCode = utf::Mutf8AsCString(file_->GetStringData(sourceCodeId).data); in Scrap() local 111 This()->GetOrCreateStringItem(sourceCode); in Scrap() 218 … std::string sourceCode = utf::Mutf8AsCString(file_->GetStringData(sourceCodeId).data); in Emit() local 219 auto *sourceCodeItem = This()->GetOrCreateStringItem(sourceCode); in Emit()
|
D | debug_info_extractor.cpp | 243 const char *sourceCode = utf::Mutf8AsCString(handler.GetSourceCode()); in Extract() local 244 …methods_.emplace(methodId, MethodDebugInfo {sourceFile, sourceCode, methodId, handler.GetLineNumbe… in Extract() 308 return it->second.sourceCode.c_str(); in GetSourceCode()
|
D | debug_info_extractor.h | 85 std::string sourceCode; member
|
D | file_items.cpp | 1508 …ineNumberProgramItem::EmitSetSourceCode(std::vector<uint8_t> *constantPool, StringItem *sourceCode) in EmitSetSourceCode() argument 1512 if (sourceCode == nullptr) { in EmitSetSourceCode() 1516 ASSERT(sourceCode->GetOffset() != 0); in EmitSetSourceCode() 1517 EmitUleb128(constantPool, sourceCode->GetOffset()); in EmitSetSourceCode()
|
/arkcompiler/ets_frontend/es2panda/parser/program/ |
D | program.h | 128 void SetSource(const std::string &sourceCode, const std::string &sourceFile, bool isDtsFile) in SetSource() argument 130 sourceCode_ = util::UString(sourceCode, Allocator()); in SetSource()
|
/arkcompiler/ets_frontend/ets2panda/parser/program/ |
D | program.h | 162 void SetSource(const util::StringView &sourceCode, const util::StringView &sourceFilePath, in SetSource() argument 165 sourceCode_ = sourceCode; in SetSource()
|
/arkcompiler/ets_frontend/es2panda/ir/ |
D | astDump.cpp | 25 …r::AstDumper(const BlockStatement *program, util::StringView sourceCode) : index_(sourceCode), ind… in AstDumper() argument
|
D | astDump.h | 148 explicit AstDumper(const BlockStatement *program, util::StringView sourceCode);
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_function.cpp | 345 const std::string &sourceCode = debugExtractor->GetSourceCode(method->GetMethodId()); in FunctionPrototypeToString() local 346 if (!sourceCode.empty()) { in FunctionPrototypeToString() 347 return GetTaggedString(thread, sourceCode.c_str()); in FunctionPrototypeToString()
|
/arkcompiler/ets_frontend/merge_abc/protos/ |
D | assemblyFunction.proto | 68 bytes sourceCode = 8; field
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | ts2panda.ts | 418 let sourceCode = undefined; variable 422 sourceCode = pg.getSourceCode(); 456 sourceCode,
|
D | pandagen.ts | 228 private sourceCode: string | undefined = undefined; property in PandaGen 342 return this.sourceCode; 346 this.sourceCode = code;
|
/arkcompiler/runtime_core/static_core/assembler/ |
D | assembly-function.h | 81 std::string sourceCode; member
|
D | assembly-emitter.cpp | 1197 if (!func.sourceCode.empty()) { in CreateMethodItem() 1198 items->GetOrCreateStringItem(func.sourceCode); in CreateMethodItem() 1451 if (!func.sourceCode.empty()) { in EmitDebugInfo() 1452 auto *sourceCodeItem = items->GetOrCreateStringItem(func.sourceCode); in EmitDebugInfo()
|
/arkcompiler/ets_frontend/ets2panda/compiler/debugger/ |
D | debuginfoDumper.cpp | 185 WriteProperty("sourceCode", iter->second.sourceCode); in Dump()
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_types.cpp | 942 std::string sourceCode; in DescriptionForFunction() local 944 sourceCode = "[native code]"; in DescriptionForFunction() 946 sourceCode = "[js code]"; in DescriptionForFunction() 949 std::string description = "function " + name->ToString() + "( { " + sourceCode + " }"; in DescriptionForFunction() 956 std::string sourceCode; in DescriptionForGeneratorFunction() local 958 sourceCode = "[native code]"; in DescriptionForGeneratorFunction() 960 sourceCode = "[js code]"; in DescriptionForGeneratorFunction() 963 std::string description = "function* " + name->ToString() + "( { " + sourceCode + " }"; in DescriptionForGeneratorFunction()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
D | emitter.cpp | 267 func->sourceCode = SourceCode().EscapeSymbol<util::StringView::Mutf8Encode>(); in GenSourceFileDebugInfo()
|