Home
last modified time | relevance | path

Searched refs:SourceRange (Results 1 - 22 of 22) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/lexer/token/
H A DsourceLocation.h41 class SourceRange { class
43 explicit SourceRange() noexcept = default;
44 SourceRange(SourcePosition s, SourcePosition e) noexcept : start(s), end(e) {} in end()
45 DEFAULT_COPY_SEMANTIC(SourceRange);
46 DEFAULT_MOVE_SEMANTIC(SourceRange);
47 ~SourceRange() = default;
H A Dtoken.h92 const SourceRange &Loc() const in Loc()
150 SourceRange loc_ {};
/arkcompiler/ets_frontend/es2panda/lexer/token/
H A DsourceLocation.h45 class SourceRange { class
47 explicit SourceRange() noexcept = default;
48 SourceRange(SourcePosition s, SourcePosition e) noexcept : start(s), end(e) {} in end()
49 DEFAULT_COPY_SEMANTIC(SourceRange);
50 DEFAULT_MOVE_SEMANTIC(SourceRange);
51 ~SourceRange() = default;
H A Dtoken.h78 const SourceRange &Loc() const in Loc()
145 SourceRange loc_ {};
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DpromiseVoid.h35 void SetRangeRecursively(ir::TypeNode *node, const lexer::SourceRange &loc);
36 ir::TypeNode *CreatePromiseVoidType(checker::ETSChecker *checker, const lexer::SourceRange &loc);
H A DpromiseVoid.cpp57 void PromiseVoidInferencePhase::SetRangeRecursively(ir::TypeNode *node, const lexer::SourceRange &loc) in SetRangeRecursively()
69 const lexer::SourceRange &loc) in CreatePromiseVoidType()
147 auto genTypeLocation = [](ir::ScriptFunction *function) -> lexer::SourceRange { in Perform()
H A DoptionalLowering.cpp34 auto const isDummyLoc = [](lexer::SourceRange const &range) { in RefineSourceRanges()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNode.h222 void SetRange(const lexer::SourceRange &loc) in SetRange()
247 const lexer::SourceRange &Range() const in Range()
305 lexer::SourceRange range_ {};
H A DastDump.h198 void SerializeLoc(const lexer::SourceRange &loc);
H A DastDump.cpp236 void AstDumper::SerializeLoc(const lexer::SourceRange &loc) in SerializeLoc()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparserNamespaces.cpp68 lexer::SourceRange bodyRange; in ParseNamespaceDefinition()
116 return {ctor, std::move(properties), lexer::SourceRange {startLoc, endLoc}}; in ParseNamespaceBody()
H A DETSparserClasses.cpp736 lexer::SourceRange bodyRange; in ParseClassDefinition()
741 bodyRange = lexer::SourceRange {Lexer()->GetToken().Start(), Lexer()->GetToken().Start()}; in ParseClassDefinition()
H A DparserImpl.h474 using ClassBody = std::tuple<ir::MethodDefinition *, ArenaVector<ir::AstNode *>, lexer::SourceRange>;
H A DETSparser.h420 using NamespaceBody = std::tuple<ir::MethodDefinition *, ArenaVector<ir::AstNode *>, lexer::SourceRange>;
H A DparserImpl.cpp819 return {ctor, std::move(properties), lexer::SourceRange {startLoc, endLoc}}; in ParseClassBody()
H A DexpressionParser.cpp829 lexer::SourceRange loc = lexer_->GetToken().Loc(); in ParsePotentialNewTarget()
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNode.h210 void SetRange(const lexer::SourceRange &loc) noexcept
235 [[nodiscard]] const lexer::SourceRange &Range() const noexcept
512 lexer::SourceRange range_ {};
H A DastDump.cpp240 void AstDumper::SerializeLoc(const lexer::SourceRange &loc) in SerializeLoc()
H A DastDump.h240 void SerializeLoc(const lexer::SourceRange &loc);
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A Demitter.cpp189 static std::string WholeLine(const util::StringView &source, lexer::SourceRange range) in WholeLine()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
H A Demitter.cpp175 [[maybe_unused]] static std::string WholeLine(const util::StringView &source, lexer::SourceRange range) in WholeLine()
/arkcompiler/ets_frontend/es2panda/parser/
H A DexpressionParser.cpp1000 lexer::SourceRange loc = lexer_->GetToken().Loc(); in ParsePotentialNewTarget()

Completed in 21 milliseconds