Home
last modified time | relevance | path

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

/external/v8/preparser/
Dpreparser-process.cc151 int beg_pos() { in beg_pos() function in PreparseDataInterpreter
225 : throws(false), type(NULL), beg_pos(-1), end_pos(-1) { } in ExceptionExpectation()
228 int beg_pos; member
248 expects->type, actual_message, reader.beg_pos(), reader.end_pos()); in CheckException()
251 if (expects->beg_pos >= 0) { in CheckException()
252 if (expects->beg_pos != reader.beg_pos()) { in CheckException()
254 expects->beg_pos, reader.beg_pos()); in CheckException()
266 message, reader.beg_pos(), reader.end_pos()); in CheckException()
285 expects.beg_pos = atoi(argv[arg_index]); // NOLINT in ParseExpectation()
/external/v8/src/
Djson-parser.h512 int beg_pos = position_; in ParseJsonNumber() local
551 int length = position_ - beg_pos; in ParseJsonNumber()
554 Vector<const uint8_t> chars(seq_source_->GetChars() + beg_pos, length); in ParseJsonNumber()
561 String::WriteToFlat(*source_, buffer.start(), beg_pos, position_); in ParseJsonNumber()
727 int beg_pos = position_; in ScanJsonString() local
730 beg_pos, in ScanJsonString()
787 int beg_pos = position_; in ScanJsonString() local
797 beg_pos, in ScanJsonString()
802 beg_pos, in ScanJsonString()
806 int length = position_ - beg_pos; in ScanJsonString()
[all …]
Dscanner.h330 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location()
331 Location() : beg_pos(0), end_pos(0) { } in Location()
334 return beg_pos >= 0 && end_pos >= beg_pos; in IsValid()
339 int beg_pos; member
367 int source_length = (location.end_pos - location.beg_pos); in literal_contains_escapes()
Dpreparser.h286 int position() { return scanner_->location().beg_pos; } in position()
287 int peek_position() { return scanner_->peek_location().beg_pos; } in peek_position()
381 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok) { in CheckOctalLiteral() argument
383 if (octal.IsValid() && beg_pos <= octal.beg_pos && in CheckOctalLiteral()
1432 int start_position = scanner()->peek_location().beg_pos; in PreParseProgram()
2157 expression = this->ParseArrowFunctionLiteral(lhs_location.beg_pos, in ParseAssignmentExpression()
2548 int beg_pos = position(); in ParseMemberExpression() local
2555 ReportMessageAt(Scanner::Location(beg_pos, position()), in ParseMemberExpression()
2631 Scanner::Location(start_pos, scanner()->location().beg_pos), in ParseArrowFunctionLiteral()
2795 int pos = location.beg_pos; in CheckAndRewriteReferenceExpression()
Dparser.cc904 int beg_pos = scanner()->location().beg_pos; in DoParseProgram() local
909 CheckOctalLiteral(beg_pos, scanner()->location().end_pos, &ok); in DoParseProgram()
1095 token_loc.end_pos - token_loc.beg_pos == in ParseSourceElements()
1119 token_loc.end_pos - token_loc.beg_pos == in ParseSourceElements()
1270 scope->set_start_position(scanner()->location().beg_pos); in ParseModuleLiteral()
1358 scanner()->location().beg_pos); in ParseModuleVariable()
2036 block_scope->set_start_position(scanner()->location().beg_pos); in ParseScopedBlock()
2578 generator, return_value, Yield::kFinal, loc.beg_pos); in ParseReturnStatement()
2579 result = factory()->NewExpressionStatement(yield, loc.beg_pos); in ParseReturnStatement()
2581 result = factory()->NewReturnStatement(return_value, loc.beg_pos); in ParseReturnStatement()
[all …]
Dscanner.cc228 next_.location.beg_pos = pos; in Next()
416 next_.location.beg_pos = source_pos(); in Scan()
663 if (pos == next_.location.beg_pos) return; in SeekForward()
1104 next_.location.beg_pos = source_pos() - (seen_equal ? 2 : 1); in ScanRegExpPattern()
Dscopes.cc761 int beg_pos = scope->start_position(); in GetNestedScopeChain() local
763 DCHECK(beg_pos >= 0 && end_pos >= 0); in GetNestedScopeChain()
764 if (beg_pos <= position && position < end_pos) { in GetNestedScopeChain()
Dpreparser.cc46 ReportMessageAt(location.beg_pos, in ReportMessageAt()
306 PreParserTraits::ReportMessageAt(start_location.beg_pos, in ParseStatement()
/external/v8/tools/
Dlexer-shell.cc95 Token::Value Next(int* beg_pos, int* end_pos) { in Next() argument
97 *beg_pos = scanner_->location().beg_pos; in Next()
/external/v8/test/preparser/
Dpreparser.expectation5 # testname[:message[:beg_pos,end_pos]]