Home
last modified time | relevance | path

Searched full:sourcerange (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/ets_frontend/es2panda/lexer/token/
DsourceLocation.h45 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;
Dtoken.h78 const SourceRange &Loc() const in DEFINE_BITOPS()
146 SourceRange loc_ {}; in DEFINE_BITOPS()
/arkcompiler/ets_frontend/ets2panda/lexer/token/
DsourceLocation.h41 class SourceRange {
43 explicit SourceRange() noexcept = default;
44 SourceRange(SourcePosition s, SourcePosition e) noexcept : start(s), end(e) {} in SourceRange() function
45 DEFAULT_COPY_SEMANTIC(SourceRange);
46 DEFAULT_MOVE_SEMANTIC(SourceRange);
47 ~SourceRange() = default;
Dtoken.h97 const SourceRange &Loc() const
155 SourceRange loc_ {};
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DpromiseVoid.h35 void SetRangeRecursively(ir::TypeNode *node, const lexer::SourceRange &loc);
36 … ir::TypeNode *CreatePromiseVoidType(checker::ETSChecker *checker, const lexer::SourceRange &loc);
DpromiseVoid.cpp59 void PromiseVoidInferencePhase::SetRangeRecursively(ir::TypeNode *node, const lexer::SourceRange &l… in SetRangeRecursively()
72 const lexer::SourceRange &loc) in CreatePromiseVoidType()
138 auto genTypeLocation = [](ir::ScriptFunction *function) -> lexer::SourceRange { in Perform()
DoptionalLowering.cpp34 auto const isDummyLoc = [](lexer::SourceRange const &range) { in RefineSourceRanges()
/arkcompiler/ets_frontend/es2panda/ir/
DastNode.h222 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()
DastDump.h198 void SerializeLoc(const lexer::SourceRange &loc);
DastDump.cpp231 void AstDumper::SerializeLoc(const lexer::SourceRange &loc) in SerializeLoc()
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserNamespaces.cpp68 lexer::SourceRange bodyRange; in ParseNamespaceDefinition()
117 return {ctor, std::move(properties), lexer::SourceRange {startLoc, endLoc}}; in ParseNamespaceBody()
DETSparserClasses.cpp774 lexer::SourceRange bodyRange; in ParseClassDefinition()
779 bodyRange = lexer::SourceRange {Lexer()->GetToken().Start(), Lexer()->GetToken().Start()}; in ParseClassDefinition()
DparserImpl.h494 …ing ClassBody = std::tuple<ir::MethodDefinition *, ArenaVector<ir::AstNode *>, lexer::SourceRange>;
DETSparser.h444 …NamespaceBody = std::tuple<ir::MethodDefinition *, ArenaVector<ir::AstNode *>, lexer::SourceRange>;
DparserImpl.cpp850 return {ctor, std::move(properties), lexer::SourceRange {startLoc, endLoc}}; in ParseClassBody()
DexpressionParser.cpp899 lexer::SourceRange loc = lexer_->GetToken().Loc(); in ParsePotentialNewTarget()
/arkcompiler/ets_frontend/ets2panda/ir/
DastNode.h229 void SetRange(const lexer::SourceRange &loc) noexcept in AST_NODE_REINTERPRET_MAPPING()
254 [[nodiscard]] const lexer::SourceRange &Range() const noexcept in AST_NODE_REINTERPRET_MAPPING()
540 lexer::SourceRange range_ {}; in AST_NODE_REINTERPRET_MAPPING()
DastDump.cpp240 void AstDumper::SerializeLoc(const lexer::SourceRange &loc) in SerializeLoc()
DastDump.h240 void SerializeLoc(const lexer::SourceRange &loc);
/arkcompiler/ets_frontend/ets2panda/public/
Des2panda_lib.cpp662 …return reinterpret_cast<es2panda_SourceRange *>(allocator->New<lexer::SourceRange>(startE2p, endE2… in CreateSourceRange()
679 auto E2pRange = reinterpret_cast<lexer::SourceRange *>(range); in SourceRangeStart()
687 auto E2pRange = reinterpret_cast<lexer::SourceRange *>(range); in SourceRangeEnd()
DcppToCTypes.yaml1857 name: 'SourceRange'
1869 reinterpret_cast<lexer::SourceRange |es2panda_arg.type.ptr_depth|>(|arg_name|);
1876 (reinterpret_cast<?const? lexer::SourceRange *>(ast))->
1879 ctxAllocator->New<lexer::SourceRange>(
1886 name: 'SourceRange'
1897 auto |arg_name|E2p = *reinterpret_cast<lexer::SourceRange *>(|arg_name|);
1901 reinterpret_cast<Context *>(context)->allocator->New<lexer::SourceRange>(
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Demitter.cpp189 static std::string WholeLine(const util::StringView &source, lexer::SourceRange range) in WholeLine()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp165 [[maybe_unused]] static std::string WholeLine(const util::StringView &source, lexer::SourceRange ra… in WholeLine()
/arkcompiler/ets_frontend/es2panda/parser/
DexpressionParser.cpp981 lexer::SourceRange loc = lexer_->GetToken().Loc(); in ParsePotentialNewTarget()