/third_party/node/deps/v8/src/parsing/ |
H A D | scanner.h | 260 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location() 261 Location() : beg_pos(0), end_pos(0) { } in Location() 263 int length() const { return end_pos - beg_pos; } in length() 264 bool IsValid() const { return base::IsInRange(beg_pos, 0, end_pos); } in IsValid() 268 int beg_pos; member 412 DCHECK_EQ(source_pos() - 1, next().location.beg_pos); in ScanTemplateContinuation() 639 base::uc32 ScanUnlimitedLengthHexNumber(base::uc32 max_value, int beg_pos); 702 int source_length = (location.end_pos - location.beg_pos); in LiteralContainsEscapes()
|
H A D | parser-base.h | 89 range_->start = scanner->peek_location().beg_pos; in SourceRangeScope() 847 scanner()->location().beg_pos); in NewUnresolved() 858 int position() const { return scanner_->location().beg_pos; } in position() 859 int peek_position() const { return scanner_->peek_location().beg_pos; } in peek_position() 985 // Checks whether an octal literal was last seen between beg_pos and end_pos. 987 void CheckStrictOctalLiteral(int beg_pos, int end_pos) { in CheckStrictOctalLiteral() argument 989 if (octal.IsValid() && beg_pos <= octal.beg_pos && in CheckStrictOctalLiteral() 1019 void ClassifyParameter(IdentifierT parameter, int beg_pos, int end_pos); 1091 source_location.beg_pos, source_locatio in ReportMessageAt() 1853 int beg_pos = peek_position(); ParseBindingPattern() local 1904 int beg_pos = peek_position(); ParsePrimaryExpression() local 2507 ParseMemberInitializer( ClassInfo* class_info, int beg_pos, bool is_static) ParseMemberInitializer() argument 4974 RewriteInvalidReferenceExpression(ExpressionT expression, int beg_pos, int end_pos, MessageTemplate message, bool early_error) RewriteInvalidReferenceExpression() argument [all...] |
H A D | scanner.cc | 142 int beg_pos) { in ScanUnlimitedLengthHexNumber() 150 ReportScannerError(Location(beg_pos, source_pos() + 1), in ScanUnlimitedLengthHexNumber() 356 if (pos == next().location.beg_pos) return; in SeekForward() 1072 DCHECK_EQ(next().location.beg_pos, static_cast<int>(position)); in SeekNext() 141 ScanUnlimitedLengthHexNumber(base::uc32 max_value, int beg_pos) ScanUnlimitedLengthHexNumber() argument
|
H A D | expression-scope.h | 508 ExpressionT ValidateAndRewriteReference(ExpressionT expression, int beg_pos, in ValidateAndRewriteReference() argument 521 expression, beg_pos, end_pos, MessageTemplate::kInvalidLhsInFor, in ValidateAndRewriteReference()
|
H A D | parser.cc | 604 int beg_pos = scanner()->location().beg_pos; in DoParseProgram() local 657 CheckStrictOctalLiteral(beg_pos, end_position()); in DoParseProgram() 1861 VariableKind kind, int beg_pos, int end_pos, in DeclareFunction() 1864 factory()->NewFunctionDeclaration(function, beg_pos); in DeclareFunction() 1867 &was_added, beg_pos); in DeclareFunction() 2458 int inner_var_proxy_pos = scanner()->location().beg_pos; in DesugarLexicalBindingsInForStatement() 1859 DeclareFunction(const AstRawString* variable_name, FunctionLiteral* function, VariableMode mode, VariableKind kind, int beg_pos, int end_pos, ZonePtrList<const AstRawString>* names) DeclareFunction() argument
|
H A D | parser.h | 329 VariableKind kind, int beg_pos, int end_pos, 879 pattern, initializer, scanner()->location().beg_pos, in AddFormalParameter()
|
H A D | preparser.h | 1163 int beg_pos, int end_pos, ZonePtrList<const AstRawString>* names) { in DeclareFunction() 1167 &was_added, beg_pos, kind); in DeclareFunction() 1160 DeclareFunction( const PreParserIdentifier& variable_name, const PreParserExpression& function, VariableMode mode, VariableKind kind, int beg_pos, int end_pos, ZonePtrList<const AstRawString>* names) DeclareFunction() argument
|
/third_party/node/deps/v8/src/ast/ |
H A D | modules.cc | 146 Smi::FromInt(iter->second.second.beg_pos)); in Serialize() 165 location.beg_pos, location.end_pos); in Serialize() 316 return (candidate->location.beg_pos > current_duplicate->location.beg_pos) in BetterDuplicate() 349 entry->location.beg_pos, entry->location.end_pos, in Validate() 361 entry->location.beg_pos, entry->location.end_pos, in Validate()
|
H A D | modules.h | 273 specifier, import_assertions, specifier_loc.beg_pos, in AddModuleRequest()
|
H A D | scopes.cc | 2975 loc.beg_pos, loc.end_pos, in ResolvePrivateNames()
|
/third_party/toybox/toys/pending/ |
H A D | mdev.c | 170 char *beg_pos = pos; in make_device() local 172 if (pos == beg_pos) { in make_device()
|
/third_party/node/deps/v8/src/objects/ |
H A D | source-text-module.cc | 220 MessageLocation new_loc(script, entry->beg_pos(), entry->end_pos()); in ResolveExport() 284 MessageLocation new_loc(script, entry->beg_pos(), entry->end_pos()); in ResolveExportUsingStarExports() 508 MessageLocation loc(script, entry->beg_pos(), entry->end_pos()); in FinishInstantiate() 526 MessageLocation loc(script, entry->beg_pos(), entry->end_pos()); in FinishInstantiate()
|
H A D | scope-info.cc | 1140 int beg_pos, int end_pos) { in New() 1149 result->set_beg_pos(beg_pos); in New() 1158 int beg_pos, int end_pos); 1163 int beg_pos, int end_pos); 1136 New( IsolateT* isolate, Handle<PrimitiveHeapObject> export_name, Handle<PrimitiveHeapObject> local_name, Handle<PrimitiveHeapObject> import_name, int module_request, int cell_index, int beg_pos, int end_pos) New() argument
|
H A D | source-text-module.h | 294 int cell_index, int beg_pos, int end_pos);
|
/third_party/node/deps/v8/src/debug/ |
H A D | debug-scopes.cc | 140 const int beg_pos = scope->start_position(); in RetrieveScopeChainDefaultConstructor() local 142 if (beg_pos == position_ && end_pos == position_) { in RetrieveScopeChainDefaultConstructor()
|