01: /*
02: * BackSlashResult.java
03: *
04: * Copyright (c) 1997 Cornell University.
05: * Copyright (c) 1997 Sun Microsystems, Inc.
06: *
07: * See the file "license.terms" for information on usage and
08: * redistribution of this file, and for a DISCLAIMER OF ALL
09: * WARRANTIES.
10: *
11: * RCS: @(#) $Id: BackSlashResult.java,v 1.2 2005/10/26 19:17:08 mdejong Exp $
12: *
13: */
14:
15: package tcl.lang;
16:
17: class BackSlashResult {
18: char c;
19: int nextIndex;
20: boolean isWordSep;
21: int count;
22:
23: BackSlashResult(char c, int nextIndex, int count) {
24: this .c = c;
25: this .nextIndex = nextIndex;
26: this .isWordSep = false;
27: this .count = count;
28: }
29:
30: BackSlashResult(char c, int nextIndex, boolean isWordSep, int count) {
31: this .c = c;
32: this .nextIndex = nextIndex;
33: this .isWordSep = false;
34: this.count = count;
35: }
36: }
|