diff options
Diffstat (limited to 'ast/ast.cpp')
-rw-r--r-- | ast/ast.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ast/ast.cpp b/ast/ast.cpp new file mode 100644 index 00000000..5c9c566e --- /dev/null +++ b/ast/ast.cpp @@ -0,0 +1,37 @@ +/*
+ */
+#include "ast.hpp"
+#include "../types.hpp"
+#include <iostream>
+
+namespace AST {
+
+void Module::add_constant(bool is_public, ::std::string name, TypeRef type, Expr val)
+{
+ ::std::cout << "add_constant()" << ::std::endl;
+}
+
+void Module::add_global(bool is_public, bool is_mut, ::std::string name, TypeRef type, Expr val)
+{
+ ::std::cout << "add_global()" << ::std::endl;
+}
+
+ExprNode::ExprNode(TagInteger, uint64_t value, enum eCoreType datatype)
+{
+
+}
+
+TypeParam::TypeParam(bool is_lifetime, ::std::string name)
+{
+
+}
+void TypeParam::addLifetimeBound(::std::string name)
+{
+
+}
+void TypeParam::addTypeBound(TypeRef type)
+{
+
+}
+
+}
|