wasCSharpSQLite – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /*
2 * FindElemResult.java --
3 *
4 * Result returned by Util.findElement().
5 *
6 * Copyright (c) 1997 Cornell University.
7 * Copyright (c) 1997 Sun Microsystems, Inc.
8 *
9 * See the file "license.terms" for information on usage and
10 * redistribution of this file, and for a DISCLAIMER OF ALL
11 * WARRANTIES.
12 *
13 * Included in SQLite3 port to C# for use in testharness only; 2008 Noah B Hart
14 *
15 * RCS @(#) $Id: FindElemResult.java,v 1.1.1.1 1998/10/14 21:09:21 cvsadmin Exp $
16 *
17 */
18 using System;
19 namespace tcl.lang
20 {
21  
22 /*
23 * Result returned by Util.findElement().
24 */
25  
26 class FindElemResult
27 {
28  
29 /*
30 * The end of the element in the original string -- the index of the
31 * character immediately behind the element.
32 */
33  
34 internal int elemEnd;
35  
36 /*
37 * The element itself.
38 */
39  
40 internal string elem;
41 internal bool brace;
42 internal int size;
43  
44 internal FindElemResult( int i, string s, int b )
45 {
46 elemEnd = i;
47 elem = s;
48 brace = b!=0;
49 size = s.Length;
50 }
51 } // end FindElemResult
52 }