Home
last modified time | relevance | path

Searched refs:sourceCode (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.cpp250 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()
Ddebug_info_extractor.h228 std::string sourceCode; member
/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.h128 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/
DastDump.cpp25 …r::AstDumper(const BlockStatement *program, util::StringView sourceCode) : index_(sourceCode), ind… in AstDumper() argument
DastDump.h148 explicit AstDumper(const BlockStatement *program, util::StringView sourceCode);
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp287 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/
DassemblyFunction.proto68 bytes sourceCode = 8; field
/arkcompiler/ets_frontend/ts2panda/src/
Dts2panda.ts418 let sourceCode = undefined; variable
422 sourceCode = pg.getSourceCode();
456 sourceCode,
Dpandagen.ts228 private sourceCode: string | undefined = undefined; property in PandaGen
342 return this.sourceCode;
346 this.sourceCode = code;
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp906 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/
Djsnapi.cpp1852 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()