Home
last modified time | relevance | path

Searched refs:SourceRangeKind (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/ast/
Dast-source-ranges.h47 enum class SourceRangeKind { enum
60 virtual SourceRange GetRange(SourceRangeKind kind) = 0;
68 SourceRange GetRange(SourceRangeKind kind) { in GetRange()
69 DCHECK_EQ(kind, SourceRangeKind::kRight); in GetRange()
82 SourceRange GetRange(SourceRangeKind kind) { in GetRange()
83 DCHECK_EQ(kind, SourceRangeKind::kContinuation); in GetRange()
102 SourceRange GetRange(SourceRangeKind kind) { in GetRange()
103 DCHECK_EQ(kind, SourceRangeKind::kBody); in GetRange()
117 SourceRange GetRange(SourceRangeKind kind) { in GetRange()
119 case SourceRangeKind::kThen: in GetRange()
[all …]
/external/v8/src/interpreter/
Dcontrol-flow-builders.cc18 node_, SourceRangeKind::kContinuation); in ~BreakableControlFlowBuilder()
92 SourceRangeKind::kBody); in SetCaseTarget()
99 statement_, SourceRangeKind::kContinuation); in ~TryCatchBuilder()
116 SourceRangeKind::kCatch); in EndTry()
125 statement_, SourceRangeKind::kContinuation); in ~TryFinallyBuilder()
154 SourceRangeKind::kFinally); in BeginFinally()
174 node_, SourceRangeKind::kContinuation); in ~ConditionalControlFlowBuilder()
Dblock-coverage-builder.h32 int AllocateBlockCoverageSlot(ZoneObject* node, SourceRangeKind kind) { in AllocateBlockCoverageSlot()
62 void IncrementBlockCounter(ZoneObject* node, SourceRangeKind kind) { in IncrementBlockCounter()
Dcontrol-flow-builders.h113 node, SourceRangeKind::kBody); in LoopBuilder()
257 node, SourceRangeKind::kThen); in ConditionalControlFlowBuilder()
260 node, SourceRangeKind::kElse); in ConditionalControlFlowBuilder()
Dbytecode-generator.h20 enum class SourceRangeKind; variable
240 int AllocateBlockCoverageSlotIfEnabled(AstNode* node, SourceRangeKind kind);
244 SourceRangeKind kind);
Dbytecode-generator.cc1387 AllocateBlockCoverageSlotIfEnabled(stmt, SourceRangeKind::kContinuation); in VisitContinueStatement()
1393 AllocateBlockCoverageSlotIfEnabled(stmt, SourceRangeKind::kContinuation); in VisitBreakStatement()
1399 AllocateBlockCoverageSlotIfEnabled(stmt, SourceRangeKind::kContinuation); in VisitReturnStatement()
3116 SourceRangeKind::kContinuation); in VisitYield()
3353 SourceRangeKind::kContinuation); in VisitYieldStar()
3431 SourceRangeKind::kContinuation); in VisitAwait()
3435 AllocateBlockCoverageSlotIfEnabled(expr, SourceRangeKind::kContinuation); in VisitThrow()
4587 AllocateBlockCoverageSlotIfEnabled(binop, SourceRangeKind::kRight); in VisitLogicalOrExpression()
4648 AllocateBlockCoverageSlotIfEnabled(binop, SourceRangeKind::kRight); in VisitLogicalAndExpression()
4916 AstNode* node, SourceRangeKind kind) { in AllocateBlockCoverageSlotIfEnabled()
[all …]
/external/v8/src/parsing/
Dparser.h986 SourceRange range = ranges->GetRange(SourceRangeKind::kRight);