ast.hpp 704 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef META_HS_AST_HPP
  2. #define META_HS_AST_HPP
  3. // Copyright Abel Sinkovics (abel@sinkovics.hu) 2012.
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. namespace ast
  8. {
  9. template <class V>
  10. struct value
  11. {
  12. typedef value type;
  13. };
  14. template <class Name>
  15. struct ref
  16. {
  17. typedef ref type;
  18. };
  19. template <class F, class Arg>
  20. struct application
  21. {
  22. typedef application type;
  23. };
  24. template <class F, class ArgName>
  25. struct lambda
  26. {
  27. typedef lambda type;
  28. };
  29. template <class E>
  30. struct top_bound
  31. {
  32. typedef top_bound type;
  33. };
  34. }
  35. #endif