diff options
| author | Rich Hickey <richhickey@gmail.com> | 2006-09-25 18:46:24 +0000 |
|---|---|---|
| committer | Rich Hickey <richhickey@gmail.com> | 2006-09-25 18:46:24 +0000 |
| commit | 86fcd18f4ef4d0cfc17df28649ae10b5060f2432 (patch) | |
| tree | 80c3df20f1ea328545f94eefb4104c66e53612a8 /src/cli/runtime/ClassSymbol.cs | |
| parent | 51c468f878a842bc6e469c32acbc58543448d081 (diff) | |
reorg of host symbols
Diffstat (limited to 'src/cli/runtime/ClassSymbol.cs')
| -rw-r--r-- | src/cli/runtime/ClassSymbol.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/cli/runtime/ClassSymbol.cs b/src/cli/runtime/ClassSymbol.cs new file mode 100644 index 00000000..484ce488 --- /dev/null +++ b/src/cli/runtime/ClassSymbol.cs @@ -0,0 +1,24 @@ +/**
+ * Copyright (c) Rich Hickey. All rights reserved.
+ * The use and distribution terms for this software are covered by the
+ * Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
+ * which can be found in the file CPL.TXT at the root of this distribution.
+ * By using this software in any fashion, you are agreeing to be bound by
+ * the terms of this license.
+ * You must not remove this notice, or any other, from this software.
+ **/
+
+using System;
+ +namespace clojure.lang
+{ +
+public class ClassSymbol :HostSymbol {
+readonly public String className;
+
+public ClassSymbol(String className) : base(className) {
+this.className = className.Substring(0, className.Length - 2); //strip trailing dot
+}
+}
+
+}
|
