diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-15 16:41:14 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-15 16:41:14 +0800 |
commit | 4160198a0a1159319a4e523e364ba57e4702295c (patch) | |
tree | bfd733d9af56f789518400fff77df6f8a3f857cb /src/hir/from_ast_expr.cpp | |
parent | 0bc8acddc94730dcb1f9bd3b2c981b119fe57f6f (diff) | |
download | mrust-4160198a0a1159319a4e523e364ba57e4702295c.tar.gz |
HIR - Start on expression conversion
Diffstat (limited to 'src/hir/from_ast_expr.cpp')
-rw-r--r-- | src/hir/from_ast_expr.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/hir/from_ast_expr.cpp b/src/hir/from_ast_expr.cpp index e69de29b..a5f29ce8 100644 --- a/src/hir/from_ast_expr.cpp +++ b/src/hir/from_ast_expr.cpp @@ -0,0 +1,19 @@ +/* + */ +#include <hir/expr_ptr.hpp> +#include <hir/expr.hpp> +#include <ast/expr.hpp> +#include <ast/ast.hpp> + + +struct Visitor: + public ::AST::NodeVisitor +{ +}; + +::HIR::ExprPtr LowerHIR_ExprNode(const ::AST::ExprNode& e) +{ + //Visitor v; + //const_cast<::AST::ExprNode*>(&e)->visit( v ); + throw ::std::runtime_error("TODO: LowerHIR_ExprNode"); +} |