Home
last modified time | relevance | path

Searched refs:Range (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/ets_frontend/es2panda/lexer/token/
DsourceLocation.h69 class Range {
71 explicit Range(size_t bS) noexcept : byteSize(bS) {} in Range() function
73 DEFAULT_COPY_SEMANTIC(Range);
74 DEFAULT_MOVE_SEMANTIC(Range);
75 ~Range() = default;
91 std::vector<Range> ranges {};
DsourceLocation.cpp30 ranges.emplace_back(Range {diff}); in AddCol()
39 ranges.emplace_back(Range {diff}); in AddCol()
/arkcompiler/runtime_core/libpandabase/os/
Ddebug_info.h95 class Range {
97 Range(Dwarf_Addr low_pc, Dwarf_Addr high_pc, CompUnit *cu = nullptr,
118 bool Contain(const Range &r) const in Contain()
138 bool operator<(const Range &r) const
143 bool operator==(const Range &r) const
179 std::set<Range> ranges_;
Ddebug_info.cpp247 Range range(pc, pc); in GetSrcLocation()
258 ranges->insert(Range(low_pc, high_pc, cu)); in GetSrcLocation()
350 auto it = ranges_.upper_bound(Range(low_pc, low_pc)); in AddFunction()
352 Range range(low_pc, high_pc, cu, function); in AddFunction()
354 Range enclosing = *it; in AddFunction()
357 … ranges_.insert(Range(enclosing.GetLowPc(), low_pc, enclosing.GetCu(), enclosing.GetFunction())); in AddFunction()
361 … ranges_.insert(Range(high_pc, enclosing.GetHighPc(), enclosing.GetCu(), enclosing.GetFunction())); in AddFunction()
364 ranges_.insert(Range(range.GetLowPc(), it->GetLowPc(), cu, function)); in AddFunction()
365 ranges_.insert(Range(it->GetHighPc(), range.GetHighPc(), cu, function)); in AddFunction()
/arkcompiler/runtime_core/libpandabase/utils/
Drange.h22 class Range {
24 Range(It begin, It end) : begin_(begin), end_(end) {} in Range() function
Dbit_table.h304 class Range {
309 Range(BitTable *table, int start, int end) : table_(table), start_(start), end_(end) {} in Range() function
351 return Range<false>(this, start, end); in GetRange()
355 return Range<true>(this, end - 1, start - 1); in GetRangeReversed()
360 return Range<true>(this, -1, -1); in GetRangeReversed()
362 return Range<true>(this, GetRowsCount() - 1, -1); in GetRangeReversed()
/arkcompiler/ets_frontend/es2panda/util/
Dconcurrent.cpp43 auto line = expr->Range().start.line; in ThrowInvalidConcurrentFunction()
44 …auto column = (const_cast<lexer::LineIndex &>(lineIndex)).GetLocation(expr->Range().start).col - 1; in ThrowInvalidConcurrentFunction()
/arkcompiler/ets_frontend/es2panda/ir/
DastDump.cpp215 SerializeLoc(object->Range()); in SerializeObject()
DastNode.h242 const lexer::SourceRange &Range() const in AST_NODE_REINTERPRET_MAPPING()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp173 pandaIns->ins_debug.line_number = astNode ? astNode->Range().start.line : INVALID_LINE; in GenInstructionDebugInfo()
185 (GetLineIndex().GetLocation(astNode->Range().start).col - 1) : INVALID_COL; in GenInstructionDebugInfo()
/arkcompiler/ets_frontend/es2panda/parser/
DstatementParser.cpp617 localBlockStmt->SetRange(funcDecl->Range()); in ParseFunctionStatement()
810 heritage->SetRange(typeReference->Range()); in ParseTsInterfaceDeclaration()
914 exprStatement->SetRange(exprNode->Range()); in ParseDirective()
1143 funcDecl->SetRange(func->Range()); in ParseFunctionDeclaration()
1175 funcDecl->SetRange(func->Range()); in ParseFunctionDeclaration()
2902 specifier->SetRange(specifier->Local()->Range()); in ParseImportDefaultSpecifier()
DexpressionParser.cpp394 arrowFuncNode->SetRange(funcNode->Range()); in ParseArrowFunctionExpressionBody()
2081 value->SetRange(methodDefinitonNode->Range()); in ParsePropertyValue()
2384 funcExpr->SetRange(functionNode->Range()); in ParseFunctionExpression()
DparserImpl.cpp2424 funcExpr->SetRange(func->Range()); in ParseClassMethod()
2439 method->SetRange(funcExpr->Range()); in ParseClassMethod()
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp969 newNode->SetRange(ident->Range()); in ReplaceConstReferenceWithInitialization()
/arkcompiler/ets_frontend/
DREADME.md74 ….1.4"><p id="p103276335016"><a name="p103276335016"></a><a name="p103276335016"></a>Value Range</p>
231 ….1.4"><p id="p103276335016"><a name="p103276335016"></a><a name="p103276335016"></a>Value Range</p>
/arkcompiler/ets_runtime/docs/
Dusing-the-toolchain.md30 …4"><p id="p1841257144811"><a name="p1841257144811"></a><a name="p1841257144811"></a>Value Range</p>
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp1325 node->SetRange(originalNode->Range()); in SetOriginalNode()
1330 it->SetRange(originalNode->Range()); in SetOriginalNode()
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeSystem.h784 const auto &range = methodDef->Key()->Range(); in FillFieldsandMethods()