Searched refs:sourceCode (Results 1 – 11 of 11) sorted by relevance
/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 | 228 std::string sourceCode; member
|
/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/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 | 287 const std::string &sourceCode = debugExtractor->GetSourceCode(method->GetMethodId()); in FunctionPrototypeToString() local 288 if (!sourceCode.empty()) { in FunctionPrototypeToString() 289 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/toolchain/tooling/base/ |
D | pt_types.cpp | 906 std::string sourceCode; in DescriptionForFunction() local 908 sourceCode = "[native code]"; in DescriptionForFunction() 910 sourceCode = "[js code]"; in DescriptionForFunction() 913 std::string description = "function " + name->ToString() + "( { " + sourceCode + " }"; in DescriptionForFunction() 920 std::string sourceCode; in DescriptionForGeneratorFunction() local 922 sourceCode = "[native code]"; in DescriptionForGeneratorFunction() 924 sourceCode = "[js code]"; in DescriptionForGeneratorFunction() 927 std::string description = "function* " + name->ToString() + "( { " + sourceCode + " }"; in DescriptionForGeneratorFunction()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 1852 std::string sourceCode = StringHelper::GetSpecifiedLine(allSourceCode, lineNumber); in GetSourceCode() local 1853 uint32_t codeLen = sourceCode.length(); in GetSourceCode() 1858 if (sourceCode[codeLen - 1] == '\r') { in GetSourceCode() 1859 sourceCode = sourceCode.substr(0, codeLen - 1); in GetSourceCode() 1861 sourceCodeHandle.Update(BuiltinsBase::GetTaggedString(thread, sourceCode.c_str())); in GetSourceCode()
|