diff options
author | John Hodge <tpg@mutabah.net> | 2016-03-12 09:11:20 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-03-12 09:11:20 +0800 |
commit | 0fa2625893c0d45a702dac9457d8869fdbbab8ac (patch) | |
tree | cee096d97d23f1a2651b527131ac5c60185e1d71 /src/ast/ast.hpp | |
parent | a6f3e33a1656752c5eef2004cdbb5ca89cf89581 (diff) | |
download | mrust-0fa2625893c0d45a702dac9457d8869fdbbab8ac.tar.gz |
Remove unused output code (will rewrite later)
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r-- | src/ast/ast.hpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp index 504d3704..1057bc79 100644 --- a/src/ast/ast.hpp +++ b/src/ast/ast.hpp @@ -397,7 +397,7 @@ class Module: // --- Runtime caches and state ---
- ::std::vector<Module*> m_anon_modules; // TODO: Should this be serialisable?
+ ::std::vector<Module*> m_anon_modules;
::std::vector< NamedNS<const MacroRules*> > m_macro_import_res; // Vec of imported macros (not serialised)
::std::vector< Named<MacroRules> > m_macros;
@@ -575,25 +575,6 @@ struct ImplRef ::rust::option<char> find_named_item(const ::std::string& name) const;
};
-class CStruct
-{
-// ::std::vector<StructItem> m_fields;
-public:
- const char* name() const { return "TODO"; }
- const char* mangled_name() const { return "TODO"; }
-// const ::std::vector<StructItem>& fields() const { return m_fields; }
-};
-
-class Flat
-{
- ::std::vector<CStruct> m_structs;
-// ::std::vector< ::std::pair< ::std::string,Function> > m_functions;
-public:
-
-// const ::std::vector< ::std::pair< ::std::string, Function> >& functions() const { return m_functions; }
- const ::std::vector<CStruct>& structs() const { return m_structs; }
-};
-
} // namespace AST
class GenericResolveClosure
|