Lines Matching refs:Location
259 struct Location {
260 Location(int b, int e) : beg_pos(b), end_pos(e) { }
261 Location() : beg_pos(0), end_pos(0) { }
266 static Location invalid() { return Location(-1, 0); }
292 const Location& location() const { return current().location; }
297 const Location& error_location() const { return scanner_error_location_; }
312 Location invalid_template_escape_location() const {
322 const Location& peek_location() const { return next().location; }
375 Location octal_position() const { return octal_pos_; }
377 octal_pos_ = Location::invalid();
433 Location location = {0, 0};
438 Location invalid_template_escape_location;
496 void ReportScannerError(const Location& location, MessageTemplate error) {
505 scanner_error_location_ = Location(pos, pos + 1);
701 Location location = token.location;
742 Location octal_pos_;
746 Location scanner_error_location_;