Home
last modified time | relevance | path

Searched defs:sourceCode (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserTemplates.h58 ir::Expression *CreateFormattedExpression(std::string_view const sourceCode, Args &&...args) in CreateFormattedExpression()
67 ArenaVector<ir::Statement *> CreateFormattedStatements(std::string_view const sourceCode, Args &&..… in CreateFormattedStatements()
76 ir::Statement *CreateFormattedClassDeclaration(std::string_view sourceCode, bool allowStatic, Args … in CreateFormattedClassDeclaration()
85 ir::AstNode *CreateFormattedClassElement(std::string_view sourceCode, ir::ClassDefinition *classDef… in CreateFormattedClassElement()
93 ir::AstNode *CreateFormattedClassFieldDefinition(std::string_view const sourceCode, Args &&...args) in CreateFormattedClassFieldDefinition()
102 ir::AstNode *CreateFormattedClassElement(std::string_view sourceCode, const ArenaVector<ir::AstNode… in CreateFormattedClassElement()
112 ir::AstNode *CreateFormattedClassMethodDefinition(std::string_view const sourceCode, Args &&...args) in CreateFormattedClassMethodDefinition()
121 ir::Statement *CreateFormattedTopLevelStatement(std::string_view sourceCode, Args &&...args) in CreateFormattedTopLevelStatement()
130 ir::TypeNode *CreateFormattedTypeAnnotation(std::string_view const sourceCode, Args &&...args) in CreateFormattedTypeAnnotation()
139 ir::Statement *CreateFormattedStatement(std::string_view const sourceCode, Args &&...args) in CreateFormattedStatement()
DETSFormattedParser.cpp284 ir::Statement *ETSParser::CreateStatement(std::string_view const sourceCode) in CreateStatement()
314 ir::Expression *ETSParser::CreateFormattedExpression(std::string_view const sourceCode, in CreateFormattedExpression()
326 ir::Statement *ETSParser::CreateFormattedStatement(std::string_view const sourceCode, in CreateFormattedStatement()
335 ir::TypeNode *ETSParser::CreateFormattedTypeAnnotation(std::string_view const sourceCode) in CreateFormattedTypeAnnotation()
345 ir::TypeNode *ETSParser::CreateFormattedTypeAnnotation(std::string_view const sourceCode, in CreateFormattedTypeAnnotation()
354 ArenaVector<ir::Statement *> ETSParser::CreateStatements(std::string_view const sourceCode) in CreateStatements()
364 ArenaVector<ir::Statement *> ETSParser::CreateFormattedStatements(std::string_view const sourceCode, in CreateFormattedStatements()
375 ir::AstNode *ETSParser::CreateFormattedClassFieldDefinition(std::string_view sourceCode, in CreateFormattedClassFieldDefinition()
392 ir::AstNode *ETSParser::CreateFormattedClassMethodDefinition(std::string_view sourceCode, in CreateFormattedClassMethodDefinition()
409 ir::AstNode *ETSParser::CreateFormattedClassElement(std::string_view sourceCode, in CreateFormattedClassElement()
[all …]
/arkcompiler/ets_frontend/arkguard/test/ut/transformer/
DVirtualConstructorTransfomer.spec.ts85 const sourceCode = `let a:number = 1;`; constant
93 const sourceCode = `let a:number = 1;`; constant
101 const sourceCode = `struct Demo{ };`; constant
DRenameFileNameTransformer.spec.ts187 const sourceCode = `let module = import('./test');`; constant
198 const sourceCode = `let module = import('@normalized:N&&&entry/src/main/ets/pages/test&');`; constant
/arkcompiler/runtime_core/static_core/disassembler/
Ddisasm_backed_debug_info_extractor.h39 std::string sourceCode; member
Ddisasm_backed_debug_info_extractor.cpp122 std::ostringstream sourceCode; in GetDisassembly() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DambientLowering.cpp68 std::string sourceCode; in CreateMethodFunctionDefinition() local
DinterfaceObjectLiteralLowering.cpp78 std::stringstream sourceCode; in CreateAnonClassField() local
102 std::stringstream sourceCode; in CreateAnonClassFieldGetterSetter() local
DgenericBridgesLowering.cpp85 …auto const sourceCode = CreateMethodDefinitionString(classDefinition, baseSignature, derivedFuncti… in AddGenericBridge() local
/arkcompiler/ets_frontend/ets2panda/lsp/src/
Drename.cpp137 auto sourceCode = program->SourceCode(); in GetTextOfNode() local
141 std::string GetSourceTextOfNodeFromSourceFile(util::StringView sourceCode, ir::AstNode *node) in GetSourceTextOfNodeFromSourceFile()
Disolated_declaration.cpp299 auto sourceCode = program->SourceCode().Utf8(); in GetTextChange() local
Dcompletions.cpp168 size_t GetPrecedingTokenPosition(std::string sourceCode, size_t pos) in GetPrecedingTokenPosition()
824 std::string sourceCode(ctx->parserProgram->SourceCode()); in GetCompletionsAtPositionImpl() local
Dinternal_api.cpp364 void GetRangeOfCommentFromContext(std::string const &sourceCode, size_t leftPos, size_t rightPos, s… in GetRangeOfCommentFromContext()
432 std::string sourceCode(ctx->parserProgram->SourceCode()); in GetRangeOfEnclosingComment() local
/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyFunction.proto68 bytes sourceCode = 8; field
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.cpp248 static const std::string sourceCode = ""; in GetSourceCode() local
306 const char *sourceCode = ""; in ExtractorMethodDebugInfo() local
Ddebug_info_extractor.h233 std::string sourceCode; member
/arkcompiler/runtime_core/static_core/libpandafile/
Ddebug_info_updater-inl.h76 … std::string sourceCode = debug_helpers::GetStringFromConstantPool(GetPandaFile(), sourceCodeId); in HandleSetSourceCode() local
203 … std::string sourceCode = debug_helpers::GetStringFromConstantPool(GetPandaFile(), sourceCodeId); in HandleSetSourceCode() local
Ddebug_info_extractor.h101 std::string sourceCode; member
Ddebug_info_extractor.cpp259 …const char *sourceCode = handler.HasSourceCode() ? utf::Mutf8AsCString(handler.GetSourceCode()) : … in Extract() local
/arkcompiler/ets_frontend/ets2panda/ir/
DastDump.cpp26 AstDumper::AstDumper(const ir::AstNode *node, util::StringView sourceCode) : index_(sourceCode) in AstDumper()
/arkcompiler/ets_frontend/es2panda/ir/
DastDump.cpp20 AstDumper::AstDumper(const BlockStatement *program, util::StringView sourceCode) : index_(sourceCod… in AstDumper()
/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.h128 void SetSource(const std::string &sourceCode, const std::string &sourceFile, bool isDtsFile) in SetSource()
/arkcompiler/runtime_core/static_core/assembler/
Dassembly-function.h89 std::string sourceCode; member
/arkcompiler/ets_frontend/ets2panda/parser/program/
Dprogram.h238 void SetSource(const util::StringView &sourceCode, const util::StringView &sourceFilePath, in SetSource()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp364 const std::string &sourceCode = debugExtractor->GetSourceCode(method->GetMethodId()); in FunctionPrototypeToString() local

12