| /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() 146 SourceRange loc_ {}; in DEFINE_BITOPS()
|
| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | sourceLocation.h | 41 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;
|
| D | token.h | 97 const SourceRange &Loc() const 155 SourceRange loc_ {};
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | promiseVoid.h | 35 void SetRangeRecursively(ir::TypeNode *node, const lexer::SourceRange &loc); 36 … ir::TypeNode *CreatePromiseVoidType(checker::ETSChecker *checker, const lexer::SourceRange &loc);
|
| D | promiseVoid.cpp | 59 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()
|
| D | optionalLowering.cpp | 34 auto const isDummyLoc = [](lexer::SourceRange const &range) { in RefineSourceRanges()
|
| /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/parser/ |
| D | ETSparserNamespaces.cpp | 68 lexer::SourceRange bodyRange; in ParseNamespaceDefinition() 117 return {ctor, std::move(properties), lexer::SourceRange {startLoc, endLoc}}; in ParseNamespaceBody()
|
| D | ETSparserClasses.cpp | 774 lexer::SourceRange bodyRange; in ParseClassDefinition() 779 bodyRange = lexer::SourceRange {Lexer()->GetToken().Start(), Lexer()->GetToken().Start()}; in ParseClassDefinition()
|
| D | parserImpl.h | 494 …ing ClassBody = std::tuple<ir::MethodDefinition *, ArenaVector<ir::AstNode *>, lexer::SourceRange>;
|
| D | ETSparser.h | 444 …NamespaceBody = std::tuple<ir::MethodDefinition *, ArenaVector<ir::AstNode *>, lexer::SourceRange>;
|
| D | parserImpl.cpp | 850 return {ctor, std::move(properties), lexer::SourceRange {startLoc, endLoc}}; in ParseClassBody()
|
| D | expressionParser.cpp | 899 lexer::SourceRange loc = lexer_->GetToken().Loc(); in ParsePotentialNewTarget()
|
| /arkcompiler/ets_frontend/ets2panda/ir/ |
| D | astNode.h | 229 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()
|
| D | astDump.cpp | 240 void AstDumper::SerializeLoc(const lexer::SourceRange &loc) in SerializeLoc()
|
| D | astDump.h | 240 void SerializeLoc(const lexer::SourceRange &loc);
|
| /arkcompiler/ets_frontend/ets2panda/public/ |
| D | es2panda_lib.cpp | 662 …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()
|
| D | cppToCTypes.yaml | 1857 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/ |
| D | emitter.cpp | 189 static std::string WholeLine(const util::StringView &source, lexer::SourceRange range) in WholeLine()
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
| D | emitter.cpp | 165 [[maybe_unused]] static std::string WholeLine(const util::StringView &source, lexer::SourceRange ra… in WholeLine()
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | expressionParser.cpp | 981 lexer::SourceRange loc = lexer_->GetToken().Loc(); in ParsePotentialNewTarget()
|