Home
last modified time | relevance | path

Searched refs:SourceLocation (Results 1 - 25 of 33) sorted by relevance

12

/arkcompiler/ets_frontend/merge_abc/src/
H A DideHelpersProto.h23 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 DideHelpersProto.cpp19 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 DassemblyFunctionProto.cpp101 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 DsourceLocation.h55 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 DsourceLocation.cpp72 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 Dtest_extractor.h25 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 Dtest_extractor.cpp29 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 Dtest_util.h156 static SourceLocation GetSourceLocation(const JSPtLocation &location, const char *pandaFile) in GetSourceLocation()
/arkcompiler/ets_frontend/es2panda/lexer/token/
H A DsourceLocation.h57 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 DsourceLocation.cpp81 SourceLocation LineIndex::GetLocation(SourcePosition pos) noexcept
100 return SourceLocation(line + 1, col + 1);
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
H A Dtest_extractor.h27 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 Dtest_extractor.cpp37 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 DerrorHandler.cpp23 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowSyntaxError()
/arkcompiler/ets_frontend/ets2panda/checker/
H A Dchecker.cpp86 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 Dide_helpers.h37 struct SourceLocation { struct
H A Dassembly-record.h38 SourceLocation body_location;
H A Dassembly-function.h87 SourceLocation body_location;
/arkcompiler/runtime_core/static_core/assembler/
H A Dassembly-record.h39 SourceLocation bodyLocation;
H A Dide_helpers.h38 struct SourceLocation { struct
H A Dassembly-function.h89 SourceLocation bodyLocation;
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DdefaultParameterLowering.h29 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowSyntaxError()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.cpp80 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowTypeError()
/arkcompiler/ets_frontend/es2panda/binder/
H A Dbinder.cpp92 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 DastDump.cpp256 lexer::SourceLocation loc = index_.GetLocation(pos); in SerializeSourcePosition()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastDump.cpp252 lexer::SourceLocation loc = index_.GetLocation(pos); in SerializeSourcePosition()

Completed in 10 milliseconds

12