01: package antlr.collections.impl;
02:
03: /* ANTLR Translator Generator
04: * Project led by Terence Parr at http://www.cs.usfca.edu
05: * Software rights: http://www.antlr.org/license.html
06: */
07:
08: public class IntRange {
09: int begin, end;
10:
11: public IntRange(int begin, int end) {
12: this .begin = begin;
13: this .end = end;
14: }
15:
16: public String toString() {
17: return begin + ".." + end;
18: }
19: }
|