summaryrefslogtreecommitdiff
path: root/src/expr/attr_var_name.h
blob: 13a2ec36f13b5b2551db123f101ca4272f0f1d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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;//Node?
  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