abouttreesummaryrefslogcommitdiff
path: root/src/repr.h
diff options
context:
space:
mode:
authorPatrick Schönberger2021-08-11 17:18:26 +0200
committerPatrick Schönberger2021-08-11 17:18:26 +0200
commit3715a3f575b615f66e8ea7e57f83849e8bae4deb (patch)
tree58b7d31e766e937f51ee7f5b6c9211038e9e242f /src/repr.h
parentb9322dfb8efe37f6f88a899269bdf21015f4db9a (diff)
downloadtoc-3715a3f575b615f66e8ea7e57f83849e8bae4deb.tar.gz
toc-3715a3f575b615f66e8ea7e57f83849e8bae4deb.zip
example and todo
Diffstat (limited to 'src/repr.h')
-rw-r--r--src/repr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/repr.h b/src/repr.h
index b30aecd..ff54f97 100644
--- a/src/repr.h
+++ b/src/repr.h
@@ -79,11 +79,13 @@ struct Body
struct Function
{
std::string name;
- std::vector<std::string> genericTypeNames;
- std::vector<std::vector<Type>> genericInstantiations;
Type returnType;
std::vector<Variable> parameters;
bool defined;
+
+ std::vector<std::string> genericTypeNames;
+ std::vector<std::vector<Type>> genericInstantiations;
+
Body body;
};