/arkcompiler/ets_frontend/merge_abc/src/ |
H A D | ideHelpersProto.h | 23 class SourceLocation { class 25 static void Serialize(const panda::pandasm::SourceLocation &location, 26 protoPanda::SourceLocation &protoLocation); 27 static void Deserialize(const protoPanda::SourceLocation &protoLocation, panda::pandasm::SourceLocation &location);
|
H A D | ideHelpersProto.cpp | 19 void SourceLocation::Serialize(const panda::pandasm::SourceLocation &location, in Serialize() 20 protoPanda::SourceLocation &protoLocation) in Serialize() 28 void SourceLocation::Deserialize(const protoPanda::SourceLocation &protoLocation, in Deserialize() 29 panda::pandasm::SourceLocation &location) in Deserialize()
|
H A D | assemblyFunctionProto.cpp | 101 SourceLocation::Serialize(function.body_location, *protoBodyLocation); in Serialize() 184 SourceLocation::Deserialize(protoFunction.bodylocation(), function.body_location); in Deserialize()
|
/arkcompiler/ets_frontend/ets2panda/lexer/token/ |
H A D | sourceLocation.h | 55 class SourceLocation { class 57 explicit SourceLocation() noexcept = default; 58 explicit SourceLocation(size_t l, size_t c) noexcept : line(l), col(c) {} in col() 59 DEFAULT_COPY_SEMANTIC(SourceLocation); 60 DEFAULT_MOVE_SEMANTIC(SourceLocation); 61 ~SourceLocation() = default; 109 SourceLocation GetLocation(SourcePosition pos) const noexcept;
|
H A D | sourceLocation.cpp | 72 SourceLocation LineIndex::GetLocation(SourcePosition pos) const noexcept 80 return SourceLocation(line + 1, col + 1); 100 return SourceLocation(line + 1, col + 1);
|
/arkcompiler/toolchain/tooling/test/utils/ |
H A D | test_extractor.h | 25 struct SourceLocation { struct 30 bool operator==(const SourceLocation &other) const in operator ==() 41 std::pair<EntityId, uint32_t> GetBreakpointAddress(const SourceLocation &sourceLocation); 43 SourceLocation GetSourceLocation(const JSPandaFile *file, EntityId methodId, uint32_t bytecodeOffset);
|
H A D | test_extractor.cpp | 29 std::pair<EntityId, uint32_t> TestExtractor::GetBreakpointAddress(const SourceLocation &sourceLocation) in GetBreakpointAddress() 43 SourceLocation TestExtractor::GetSourceLocation(const JSPandaFile *file, EntityId methodId, uint32_t bytecodeOffset) in GetSourceLocation() 45 SourceLocation location {file, 0, 0}; in GetSourceLocation()
|
H A D | test_util.h | 156 static SourceLocation GetSourceLocation(const JSPtLocation &location, const char *pandaFile) in GetSourceLocation()
|
/arkcompiler/ets_frontend/es2panda/lexer/token/ |
H A D | sourceLocation.h | 57 class SourceLocation { class 59 explicit SourceLocation() noexcept = default; 60 explicit SourceLocation(size_t l, size_t c) noexcept : line(l), col(c) {} in col() 61 DEFAULT_COPY_SEMANTIC(SourceLocation); 62 DEFAULT_MOVE_SEMANTIC(SourceLocation); 63 ~SourceLocation() = default; 106 SourceLocation GetLocation(SourcePosition pos) noexcept;
|
H A D | sourceLocation.cpp | 81 SourceLocation LineIndex::GetLocation(SourcePosition pos) noexcept 100 return SourceLocation(line + 1, col + 1);
|
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/ |
H A D | test_extractor.h | 27 struct SourceLocation { struct 31 bool operator==(const SourceLocation &other) const in operator ==() 50 std::pair<EntityId, uint32_t> GetBreakpointAddress(const SourceLocation &sourceLocation); 57 SourceLocation GetSourceLocation(EntityId methodId, uint32_t bytecodeOffset);
|
H A D | test_extractor.cpp | 37 std::pair<EntityId, uint32_t> TestExtractor::GetBreakpointAddress(const SourceLocation &sourceLocation) in GetBreakpointAddress() 134 SourceLocation TestExtractor::GetSourceLocation(EntityId methodId, uint32_t bytecodeOffset) in GetSourceLocation() 138 return SourceLocation(); in GetSourceLocation() 143 return SourceLocation(); in GetSourceLocation() 146 return SourceLocation {langExtractor_->GetSourceFile(methodId), line.value()}; in GetSourceLocation()
|
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | errorHandler.cpp | 23 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowSyntaxError()
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | checker.cpp | 86 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowTypeError() 99 lexer::SourceLocation loc = index.GetLocation(pos); in LogTypeError() 107 lexer::SourceLocation loc = index.GetLocation(pos); in Warning()
|
/arkcompiler/runtime_core/assembler/ |
H A D | ide_helpers.h | 37 struct SourceLocation { struct
|
H A D | assembly-record.h | 38 SourceLocation body_location;
|
H A D | assembly-function.h | 87 SourceLocation body_location;
|
/arkcompiler/runtime_core/static_core/assembler/ |
H A D | assembly-record.h | 39 SourceLocation bodyLocation;
|
H A D | ide_helpers.h | 38 struct SourceLocation { struct
|
H A D | assembly-function.h | 89 SourceLocation bodyLocation;
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | defaultParameterLowering.h | 29 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowSyntaxError()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.cpp | 80 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowTypeError()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | binder.cpp | 92 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowRedeclaration() 102 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowUndeclaredExport() 112 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowInvalidDstrTarget() 122 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowInvalidAnnotationDeclaration() 1141 lexer::SourceLocation loc = index.GetLocation(pos); in CheckPrivateDeclaration()
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | astDump.cpp | 256 lexer::SourceLocation loc = index_.GetLocation(pos); in SerializeSourcePosition()
|
/arkcompiler/ets_frontend/es2panda/ir/ |
H A D | astDump.cpp | 252 lexer::SourceLocation loc = index_.GetLocation(pos); in SerializeSourcePosition()
|