diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-15 21:39:25 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-15 21:39:25 +0800 |
commit | 2ef7be5dc9f455e5dd9d8753aa34e2bb5db7f587 (patch) | |
tree | c2fca4958681af9aec6536864aacf8dc59386cf3 /src/hir/from_ast.hpp | |
parent | 0eab78b913d79d4a5f3ddc015f1b5dc5fd21266f (diff) | |
download | mrust-2ef7be5dc9f455e5dd9d8753aa34e2bb5db7f587.tar.gz |
HIR - Expression conversion progressing
Diffstat (limited to 'src/hir/from_ast.hpp')
-rw-r--r-- | src/hir/from_ast.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/hir/from_ast.hpp b/src/hir/from_ast.hpp new file mode 100644 index 00000000..0dde55b0 --- /dev/null +++ b/src/hir/from_ast.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include <hir/expr_ptr.hpp> + +extern ::HIR::ExprPtr LowerHIR_ExprNode(const ::AST::ExprNode& e); +extern ::HIR::Path LowerHIR_Path(const ::AST::Path& path); +extern ::HIR::TypeRef LowerHIR_Type(const ::TypeRef& ty); +extern ::HIR::Pattern LowerHIR_Pattern(const ::AST::Pattern& pat); + |