summaryrefslogtreecommitdiff
path: root/src/expr/attr_var_name.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/attr_var_name.h')
-rw-r--r--src/expr/attr_var_name.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/expr/attr_var_name.h b/src/expr/attr_var_name.h
new file mode 100644
index 000000000..a0780d575
--- /dev/null
+++ b/src/expr/attr_var_name.h
@@ -0,0 +1,36 @@
+/********************* -*- C++ -*- */
+/** attr_type.h
+ ** This file is part of the CVC4 prototype.
+ ** Copyright (c) 2009 The Analysis of Computer Systems Group (ACSys)
+ ** Courant Institute of Mathematical Sciences
+ ** New York University
+ ** See the file COPYING in the top-level source directory for licensing
+ ** information.
+ **
+ **/
+
+#ifndef __CVC4__EXPR__ATTR_VAR_NAME_H
+#define __CVC4__EXPR__ATTR_VAR_NAME_H
+
+#include "expr_attribute.h"
+
+namespace CVC4 {
+namespace expr {
+
+class VarName;
+
+// an "attribute type" for types
+// this is essentially a traits structure
+class VarName_attr {
+public:
+ enum { hash_value = 11 }; // could use typeid but then different on different machines/compiles
+ typedef Type value_type;//Expr?
+ static const Type_attr marker;
+};
+
+extern AttrTable<Type_attr> type_table;
+
+}/* CVC4::expr namespace */
+}/* CVC4 namespace */
+
+#endif /* __CVC4__EXPR__ATTR_TYPE_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback