Working on objects and scoping. To finish, need to actually implement decent propogation of types

This commit is contained in:
Nathan Braswell committed 2014-02-03 11:41:25 -05:00
1 parent 62933af8f8
commit 1791738cd9
3 files changed
+161 -79

No files matched your search

+2 -1
View File
@@ -17,8 +17,9 @@ class CGenerator {
CGenerator();
~CGenerator();
void generateCompSet(std::map<std::string, NodeTree<ASTData>*> ASTs, std::string outputName);
std::string generate(NodeTree<ASTData>* from);
std::string generate(NodeTree<ASTData>* from, NodeTree<ASTData>* enclosingObject = NULL);
static std::string ValueTypeToCType(Type *type);
std::string generateObjectMethod(NodeTree<ASTData>* enclosingObject, NodeTree<ASTData>* from);
std::string generatorString;
private: