| /arkcompiler/ets_frontend/es2panda/lexer/token/ |
| D | sourceLocation.h | 45 class SourceRange { 47 explicit SourceRange() noexcept = default; 48 SourceRange(SourcePosition s, SourcePosition e) noexcept : start(s), end(e) {} in SourceRange() function 49 DEFAULT_COPY_SEMANTIC(SourceRange); 50 DEFAULT_MOVE_SEMANTIC(SourceRange); 51 ~SourceRange() = default;
|
| D | token.h | 78 const SourceRange &Loc() const in DEFINE_BITOPS() 151 SourceRange loc_ {}; in DEFINE_BITOPS()
|
| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | sourceLocation.h | 59 class SourceRange { 61 explicit SourceRange() noexcept = default; 62 SourceRange(SourcePosition s, SourcePosition e) noexcept : start(s), end(e) {} in SourceRange() function 63 DEFAULT_COPY_SEMANTIC(SourceRange); 64 DEFAULT_MOVE_SEMANTIC(SourceRange); 65 ~SourceRange() = default;
|
| D | token.h | 97 const SourceRange &Loc() const 158 SourceRange loc_ {};
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/plugin/ |
| D | plugin_proceed_to_state_log_diagnostic_with_suggestion.cpp | 80 …strcmp(suggestion->Message().data(), "origin a") != 0 || suggestion->SourceRange()->start.line != … in main() 81 …suggestion->SourceRange()->end.line != endLine || suggestion->SourceRange()->start.index != startI… in main() 82 suggestion->SourceRange()->end.index != endIndex) { in main()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | promiseVoid.h | 35 void SetRangeRecursively(ir::TypeNode *node, const lexer::SourceRange &loc); 36 ir::TypeNode *CreatePromiseVoidType(public_lib::Context *ctx, const lexer::SourceRange &loc);
|
| D | promiseVoid.cpp | 43 void PromiseVoidInferencePhase::SetRangeRecursively(ir::TypeNode *node, const lexer::SourceRange &l… in SetRangeRecursively() 55 …eVoidInferencePhase::CreatePromiseVoidType(public_lib::Context *ctx, const lexer::SourceRange &loc) in CreatePromiseVoidType() 118 auto genTypeLocation = [](ir::ScriptFunction *function) -> lexer::SourceRange { in PerformForModule()
|
| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | diagnostic.h | 177 const char *substitutionCode, const lexer::SourceRange *range); 179 const lexer::SourceRange *SourceRange() const in SourceRange() function 200 const lexer::SourceRange *range_;
|
| D | diagnostic.cpp | 225 const char *substitutionCode, const lexer::SourceRange *range) in Suggestion()
|
| /arkcompiler/ets_frontend/ets2panda/lsp/include/formatting/ |
| D | formatting_context.h | 33 struct RangeWithKind : lexer::SourceRange { 41 : lexer::SourceRange(startPos, endPos), kind_(nodeKind) in SourceRange() function
|
| /arkcompiler/ets_frontend/es2panda/ir/ |
| D | astNode.h | 222 void SetRange(const lexer::SourceRange &loc) in AST_NODE_REINTERPRET_MAPPING() 247 const lexer::SourceRange &Range() const in AST_NODE_REINTERPRET_MAPPING() 305 lexer::SourceRange range_ {}; in AST_NODE_REINTERPRET_MAPPING()
|
| D | astDump.h | 198 void SerializeLoc(const lexer::SourceRange &loc);
|
| D | astDump.cpp | 231 void AstDumper::SerializeLoc(const lexer::SourceRange &loc) in SerializeLoc()
|
| /arkcompiler/ets_frontend/ets2panda/lsp/src/register_code_fix/ |
| D | ui_plugin_suggest.cpp | 40 auto sourceStart = suggestion->SourceRange()->start.index; in GetTextChangesFromSuggestions() 41 auto sourceEnd = suggestion->SourceRange()->end.index; in GetTextChangesFromSuggestions()
|
| /arkcompiler/ets_frontend/ets2panda/lsp/include/ |
| D | create_type_help_items.h | 58 SignatureHelpItems CreateTypeHelpItems(const ir::AstNode *node, lexer::SourceRange location, TextSp…
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ |
| D | util.h | 35 void SetSourceRangesRecursively(ir::AstNode *node, const lexer::SourceRange &range);
|
| D | util.cpp | 58 void SetSourceRangesRecursively(ir::AstNode *node, const lexer::SourceRange &range) in SetSourceRangesRecursively() 67 auto const isDummyLoc = [](lexer::SourceRange const &range, ir::AstNode *ast) { in RefineSourceRanges()
|
| /arkcompiler/ets_frontend/ets2panda/lsp/src/ |
| D | internal_api.cpp | 120 FileDiagnostic CreateFileDiagnostic(es2panda_AstNode *node, lexer::SourceRange span, Diagnostic dia… in CreateFileDiagnostic() 132 lexer::SourceRange GetErrorRangeForNode(ir::AstNode *node) in GetErrorRangeForNode() 134 return lexer::SourceRange(node->Start(), node->End()); in GetErrorRangeForNode() 540 lexer::SourceRange sourceRange; in CreateDiagnosticForError() local 549 sourceRange = touchingToken->Range(); in CreateDiagnosticForError() 550 sourceStartLocation = index.GetLocation(sourceRange.start); in CreateDiagnosticForError() 551 sourceEndLocation = index.GetLocation(sourceRange.end); in CreateDiagnosticForError()
|
| D | create_type_help_items.cpp | 23 SignatureHelpItems CreateTypeHelpItems(const ir::AstNode *node, lexer::SourceRange location, TextSp… in CreateTypeHelpItems()
|
| /arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/ |
| D | debugInfoDeserializer.cpp | 239 compiler::SetSourceRangesRecursively(varDecl, lexer::SourceRange()); in CreateLocalVarDecl() 254 compiler::SetSourceRangesRecursively(varUpdate, lexer::SourceRange()); in CreateLocalVarDecl()
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/lsp/ |
| D | lsp_rename_test.cpp | 117 auto srcRange = ark::es2panda::lexer::SourceRange(srcPositionStart, srcPositionEnd); in TEST_F() 139 auto srcRange = ark::es2panda::lexer::SourceRange(srcPositionStart, srcPositionEnd); in TEST_F() 164 auto srcRange = ark::es2panda::lexer::SourceRange(srcPositionStart, srcPositionEnd); in TEST_F() 276 auto srcRange = ark::es2panda::lexer::SourceRange(srcPositionStart, srcPositionEnd); in TEST_F()
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | parserImpl.h | 215 ir::Statement *AllocBrokenStatement(const lexer::SourceRange &range); 228 ir::Identifier *AllocBrokenExpression(const lexer::SourceRange &range); 230 ir::TypeNode *AllocBrokenType(const lexer::SourceRange &range); 533 …ing ClassBody = std::tuple<ir::MethodDefinition *, ArenaVector<ir::AstNode *>, lexer::SourceRange>;
|
| /arkcompiler/ets_frontend/ets2panda/ir/ |
| D | astNode.h | 266 void SetRange(const lexer::SourceRange &loc) noexcept in AST_NODE_REINTERPRET_MAPPING() 291 [[nodiscard]] const lexer::SourceRange &Range() const noexcept in AST_NODE_REINTERPRET_MAPPING() 570 lexer::SourceRange range_ {}; in AST_NODE_REINTERPRET_MAPPING()
|
| D | astDump.h | 240 void SerializeLoc(const lexer::SourceRange &loc);
|
| D | astDump.cpp | 241 void AstDumper::SerializeLoc(const lexer::SourceRange &loc) in SerializeLoc()
|