Home
last modified time | relevance | path

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

/external/v8/src/parsing/
Dscanner.h257 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location()
258 Location() : beg_pos(0), end_pos(0) { } in Location()
260 int length() const { return end_pos - beg_pos; } in length()
261 bool IsValid() const { return base::IsInRange(beg_pos, 0, end_pos); } in IsValid()
265 int beg_pos; member
406 DCHECK_EQ(source_pos() - 1, next().location.beg_pos); in ScanTemplateContinuation()
630 uc32 ScanUnlimitedLengthHexNumber(uc32 max_value, int beg_pos);
693 int source_length = (location.end_pos - location.beg_pos); in LiteralContainsEscapes()
Dparser-base.h85 range_->start = scanner->peek_location().beg_pos; in SourceRangeScope()
835 scanner()->location().beg_pos); in NewUnresolved()
846 int position() const { return scanner_->location().beg_pos; } in position()
847 int peek_position() const { return scanner_->peek_location().beg_pos; } in peek_position()
972 void CheckStrictOctalLiteral(int beg_pos, int end_pos) { in CheckStrictOctalLiteral() argument
974 if (octal.IsValid() && beg_pos <= octal.beg_pos && in CheckStrictOctalLiteral()
1004 void ClassifyParameter(IdentifierT parameter, int beg_pos, int end_pos);
1169 ExpressionT ParseMemberInitializer(ClassInfo* class_info, int beg_pos,
1359 int beg_pos, int end_pos,
1743 int beg_pos = peek_position(); in ParseBindingPattern() local
[all …]
Dscanner.cc139 uc32 Scanner::ScanUnlimitedLengthHexNumber(uc32 max_value, int beg_pos) { in ScanUnlimitedLengthHexNumber() argument
147 ReportScannerError(Location(beg_pos, source_pos() + 1), in ScanUnlimitedLengthHexNumber()
358 if (pos == next().location.beg_pos) return; in SeekForward()
1076 DCHECK_EQ(next().location.beg_pos, static_cast<int>(position)); in SeekNext()
Dparser.h311 VariableKind kind, int beg_pos, int end_pos,
715 source_location.beg_pos, source_location.end_pos, message, arg);
726 source_location.beg_pos, source_location.end_pos, message, arg);
870 pattern, initializer, scanner()->location().beg_pos,
Dpreparser.h1166 int beg_pos, int end_pos, ZonePtrList<const AstRawString>* names) {
1170 &was_added, beg_pos, kind);
1452 source_location.beg_pos, source_location.end_pos, message, arg);
1470 source_location.beg_pos, source_location.end_pos, message, arg);
Dexpression-scope.h497 ExpressionT ValidateAndRewriteReference(ExpressionT expression, int beg_pos, in ValidateAndRewriteReference() argument
510 expression, beg_pos, end_pos, MessageTemplate::kInvalidLhsInFor, in ValidateAndRewriteReference()
Dparser.cc589 int beg_pos = scanner()->location().beg_pos; in DoParseProgram() local
646 CheckStrictOctalLiteral(beg_pos, end_position()); in DoParseProgram()
1725 VariableKind kind, int beg_pos, int end_pos, in DeclareFunction() argument
1728 factory()->NewFunctionDeclaration(function, beg_pos); in DeclareFunction()
1731 &was_added, beg_pos); in DeclareFunction()
2322 int inner_var_proxy_pos = scanner()->location().beg_pos; in DesugarLexicalBindingsInForStatement()
Dscanner-inl.h346 next().location.beg_pos = source_pos(); in ScanSingleToken()
/external/v8/src/ast/
Dmodules.cc151 Smi::FromInt(iter->second.second.beg_pos)); in Serialize()
170 location.beg_pos, location.end_pos); in Serialize()
319 return (candidate->location.beg_pos > current_duplicate->location.beg_pos) in BetterDuplicate()
352 entry->location.beg_pos, entry->location.end_pos, in Validate()
364 entry->location.beg_pos, entry->location.end_pos, in Validate()
Dmodules.h280 specifier_loc.beg_pos))) in AddModuleRequest()
Dscopes.cc2733 loc.beg_pos, loc.end_pos, in ResolvePrivateNames()
/external/toybox/toys/pending/
Dmdev.c170 char *beg_pos = pos; in make_device() local
172 if (pos == beg_pos) { in make_device()
/external/v8/src/objects/
Dsource-text-module.tq67 beg_pos: Smi;
Dsource-text-module.cc209 MessageLocation new_loc(script, entry->beg_pos(), entry->end_pos()); in ResolveExport()
273 MessageLocation new_loc(script, entry->beg_pos(), entry->end_pos()); in ResolveExportUsingStarExports()
478 MessageLocation loc(script, entry->beg_pos(), entry->end_pos()); in FinishInstantiate()
496 MessageLocation loc(script, entry->beg_pos(), entry->end_pos()); in FinishInstantiate()
Dscope-info.cc1069 int beg_pos, int end_pos) { in New() argument
1078 result->set_beg_pos(beg_pos); in New()
1087 int beg_pos, int end_pos);
1092 int beg_pos, int end_pos);
Dsource-text-module.h267 int cell_index, int beg_pos, int end_pos);
/external/v8/src/debug/
Ddebug-scopes.cc138 const int beg_pos = scope->start_position(); in RetrieveScopeChainDefaultConstructor() local
140 if (beg_pos == position_ && end_pos == position_) { in RetrieveScopeChainDefaultConstructor()
/external/v8/src/diagnostics/
Dobjects-printer.cc1531 os << "\n - beg_pos: " << beg_pos(); in SourceTextModuleInfoEntryPrint()