Home | History | Annotate | Download | only in src

Lines Matching defs:Location

301   struct Location {
302 Location(int b, int e) : beg_pos(b), end_pos(e) { }
303 Location() : beg_pos(0), end_pos(0) { }
309 static Location invalid() { return Location(-1, -1); }
328 // Returns the location information for the current token
330 Location location() const { return current_.location; }
355 Location location = current_.location;
356 int source_length = (location.end_pos - location.beg_pos);
369 Location peek_location() const { return next_.location; }
397 // Returns the location of the last seen octal literal.
398 Location octal_position() const { return octal_pos_; }
399 void clear_octal_position() { octal_pos_ = Location::invalid(); }
443 Location location;
553 Location octal_pos_;