wasCSharpSQLite – Blame information for rev

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /*
2 * ImportRef.java
3 *
4 * An ImportRef is a member of the list of imported commands
5 * which is part of the WrappedCommand class.
6 *
7 * Copyright (c) 1999 Mo DeJong.
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: ImportRef.java,v 1.1 1999/08/05 03:42:49 mo Exp $
16 */
17 using System;
18 namespace tcl.lang
19 {
20  
21 /// <summary> An imported command is created in an namespace when it imports a "real"
22 /// command from another namespace. An imported command has a Command
23 /// structure that points (via its ClientData value) to the "real" Command
24 /// structure in the source namespace's command table. The real command
25 /// records all the imported commands that refer to it in a list of ImportRef
26 /// structures so that they can be deleted when the real command is deleted.
27 /// </summary>
28  
29 class ImportRef
30 {
31 internal WrappedCommand importedCmd; // Points to the imported command created in
32 // an importing namespace; this command
33 // redirects its invocations to the "real" cmd.
34 internal ImportRef next; // Next element on the linked list of
35 // imported commands that refer to the
36 // "real" command. The real command deletes
37 // these imported commands on this list when
38 // it is deleted.
39 }
40 }