summaryrefslogtreecommitdiff
path: root/ast/ast.hpp
diff options
context:
space:
mode:
authorJohn Hodge (bugs) <tpg@mutabah.net>2014-11-22 23:36:20 +0800
committerJohn Hodge (bugs) <tpg@mutabah.net>2014-11-22 23:36:20 +0800
commit7ad1a8b4b40784e0a10bd453c75dd0dcf123d5f1 (patch)
tree0172ed546bdb00e86297d8d36d7cb0a0a1d111f3 /ast/ast.hpp
downloadmrust-7ad1a8b4b40784e0a10bd453c75dd0dcf123d5f1.tar.gz
Initial commit, lexer structurally complete, parsing hacking up
Diffstat (limited to 'ast/ast.hpp')
-rw-r--r--ast/ast.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/ast/ast.hpp b/ast/ast.hpp
new file mode 100644
index 00000000..f637e742
--- /dev/null
+++ b/ast/ast.hpp
@@ -0,0 +1,20 @@
+#ifndef AST_HPP_INCLUDED
+#define AST_HPP_INCLUDED
+
+namespace AST {
+
+class Path
+{
+public:
+ void append(::std::string str) {}
+};
+
+class Module
+{
+public:
+ void add_alias(Path path) {}
+};
+
+}
+
+#endif // AST_HPP_INCLUDED