summaryrefslogtreecommitdiff
path: root/src/expr/attr_var_name.h
blob: a17a3ba18a14f4ec1ad1c1ea8748b0a5f2527d5f (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
37
38
39
40
/*********************                                           -*- C++ -*-  */
/** attr_var_name.h
 ** Original author: mdeters
 ** Major contributors: none
 ** Minor contributors (to current version): dejan
 ** 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.
 **
 ** The node attribute describing variable names.
 **/

#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