Home
last modified time | relevance | path

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

/external/v8/src/parsing/
Djson-parser.h543 int beg_pos = position_; in ParseJsonNumber() local
582 int length = position_ - beg_pos; in ParseJsonNumber()
585 Vector<const uint8_t> chars(seq_source_->GetChars() + beg_pos, length); in ParseJsonNumber()
591 String::WriteToFlat(*source_, buffer.start(), beg_pos, position_); in ParseJsonNumber()
757 int beg_pos = position_; in ScanJsonString() local
760 beg_pos, in ScanJsonString()
808 int beg_pos = position_; in ScanJsonString() local
818 beg_pos, in ScanJsonString()
823 beg_pos, in ScanJsonString()
827 int length = position_ - beg_pos; in ScanJsonString()
[all …]
Dparser-base.h349 int position() { return scanner_->location().beg_pos; } in position()
350 int peek_position() { return scanner_->peek_location().beg_pos; } in peek_position()
466 void CheckOctalLiteral(int beg_pos, int end_pos, in CheckOctalLiteral() argument
469 if (octal.IsValid() && beg_pos <= octal.beg_pos && in CheckOctalLiteral()
477 inline void CheckStrictOctalLiteral(int beg_pos, int end_pos, bool* ok) { in CheckStrictOctalLiteral() argument
478 CheckOctalLiteral(beg_pos, end_pos, MessageTemplate::kStrictOctalLiteral, in CheckStrictOctalLiteral()
482 inline void CheckTemplateOctalLiteral(int beg_pos, int end_pos, bool* ok) { in CheckTemplateOctalLiteral() argument
483 CheckOctalLiteral(beg_pos, end_pos, MessageTemplate::kTemplateOctalLiteral, in CheckTemplateOctalLiteral()
488 ExpressionClassifier* classifier, int beg_pos,
578 if (a.beg_pos < 0 || (b.beg_pos >= 0 && a.beg_pos > b.beg_pos)) { in ValidateExpression()
[all …]
Dscanner.h327 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location()
328 Location() : beg_pos(0), end_pos(0) { } in Location()
331 return beg_pos >= 0 && end_pos >= beg_pos; in IsValid()
336 int beg_pos; member
679 int source_length = (location.end_pos - location.beg_pos); in LiteralContainsEscapes()
Dpreparser.cc28 ReportMessageAt(location.beg_pos, location.end_pos, message, arg, error_type); in ReportMessageAt()
239 if (this_loc.beg_pos != old_this_loc.beg_pos && in ParseStatementList()
240 this_loc.beg_pos != token_loc.beg_pos) { in ParseStatementList()
245 if (super_loc.beg_pos != old_super_loc.beg_pos && in ParseStatementList()
246 super_loc.beg_pos != token_loc.beg_pos) { in ParseStatementList()
406 PreParserTraits::ReportMessageAt(start_location.beg_pos, in ParseSubStatement()
1118 int start_position = scanner()->location().beg_pos; in ParseFunctionLiteral()
Dparser.cc536 parser_->pending_error_handler_.ReportMessageAt(source_location.beg_pos, in ReportMessageAt()
567 parser_->pending_error_handler_.ReportMessageAt(source_location.beg_pos, in ReportMessageAt()
826 DCHECK_EQ(scanner_.peek_location().beg_pos, source->length()); in ParseProgram()
900 int beg_pos = scanner()->location().beg_pos; in DoParseProgram() local
909 scope->set_end_position(scanner()->peek_location().beg_pos); in DoParseProgram()
912 CheckStrictOctalLiteral(beg_pos, scanner()->location().end_pos, &ok); in DoParseProgram()
1152 if (this_loc.beg_pos != old_this_loc.beg_pos && in ParseStatementList()
1153 this_loc.beg_pos != token_loc.beg_pos) { in ParseStatementList()
1158 if (super_loc.beg_pos != old_super_loc.beg_pos && in ParseStatementList()
1159 super_loc.beg_pos != token_loc.beg_pos) { in ParseStatementList()
[all …]
Dscanner.cc236 next_.location.beg_pos = current_.location.beg_pos; in Next()
252 next_.location.beg_pos = pos; in Next()
456 next_.location.beg_pos = source_pos(); in Scan()
716 if (pos == next_.location.beg_pos) return; in SeekForward()
936 next_.location.beg_pos = source_pos(); in ScanTemplateStart()
944 next_.location.beg_pos = source_pos() - 1; // We already consumed } in ScanTemplateContinuation()
1355 next_.location.beg_pos = source_pos() - (seen_equal ? 2 : 1); in ScanRegExpPattern()
Dpreparser.h988 int start_position = scanner()->peek_location().beg_pos;
/external/v8/test/preparser/
Dpreparser.expectation5 # testname[:message[:beg_pos,end_pos]]
/external/v8/src/ast/
Dscopes.cc849 int beg_pos = scope->start_position(); in GetNestedScopeChain() local
851 DCHECK(beg_pos >= 0 && end_pos >= 0); in GetNestedScopeChain()
852 if (beg_pos <= position && position < end_pos) { in GetNestedScopeChain()