source: trunk/yao/share/antlr-2.7.7/antlr/collections/impl/IntRange.java @ 1

Last change on this file since 1 was 1, checked in by lnalod, 15 years ago

Initial import of YAO sources

File size: 496 bytes
Line 
1package antlr.collections.impl;
2
3/* ANTLR Translator Generator
4 * Project led by Terence Parr at http://www.cs.usfca.edu
5 * Software rights: http://www.antlr.org/license.html
6 *
7 * $Id: //depot/code/org.antlr/release/antlr-2.7.7/antlr/collections/impl/IntRange.java#2 $
8 */
9
10public class IntRange {
11    int begin, end;
12
13
14    public IntRange(int begin, int end) {
15        this.begin = begin;
16        this.end = end;
17    }
18
19    public String toString() {
20        return begin + ".." + end;
21    }
22}
Note: See TracBrowser for help on using the repository browser.