def get_all_intervals(self):
ints = sorted(self.get_intervals(True))<EOL>if self.tier_type == '<STR_LIT>':<EOL><INDENT>if not ints:<EOL><INDENT>ints.append((self.xmin, self.xmax, '<STR_LIT>'))<EOL><DEDENT>else:<EOL><INDENT>if ints[<NUM_LIT:0>][<NUM_LIT:0>] > self.xmin:<EOL><INDENT>ints.insert(<NUM_LIT:0>, (self.xmin, ints[<NUM_LIT:0>][<NUM_LIT:0>], '<STR_LIT>'))<EOL><DEDENT>if ints[-<NUM_LIT:1>][<NUM_LIT:1>] < self.xmax:<EOL><INDENT>ints.append((ints[-<NUM_LIT:1>][<NUM_LIT:1>], self.xmax, '<STR_LIT>'))<EOL><DEDENT>p = ints[-<NUM_LIT:1>]<EOL>for index, i in reversed(list(enumerate(ints[:-<NUM_LIT:1>], <NUM_LIT:1>))):<EOL><INDENT>if p[<NUM_LIT:0>] - i[<NUM_LIT:1>] != <NUM_LIT:0>:<EOL><INDENT>ints.insert(index, (i[<NUM_LIT:1>], p[<NUM_LIT:0>], '<STR_LIT>'))<EOL><DEDENT>p = i<EOL><DEDENT><DEDENT><DEDENT>return ints<EOL>
Returns the true list of intervals including the empty intervals.