diff options
author | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-16 09:14:38 +0800 |
---|---|---|
committer | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-16 09:14:38 +0800 |
commit | 80e4060188913eb12ad8a774b07d3b938485a49a (patch) | |
tree | f8e978f4c1c93920aa16119199cf728b36915121 /src/ast/ast.cpp | |
parent | 7d04ce9d4c945cedf08ff2a7fa0af49ea4e6e1b0 (diff) | |
download | mrust-80e4060188913eb12ad8a774b07d3b938485a49a.tar.gz |
Added associated type reference parse, and tuple value parse
Diffstat (limited to 'src/ast/ast.cpp')
-rw-r--r-- | src/ast/ast.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp index a9336c31..f176122b 100644 --- a/src/ast/ast.cpp +++ b/src/ast/ast.cpp @@ -230,6 +230,12 @@ SERIALISE_TYPE(Function::, "AST_Function", { //s << m_code;
})
+SERIALISE_TYPE(Trait::, "AST_Trait", {
+ s << m_params;
+ s << m_types;
+ s << m_functions;
+})
+
SERIALISE_TYPE(Enum::, "AST_Enum", {
s << m_params;
s << m_variants;
|