Add type parameters to behavior.

This commit is contained in:
2018-05-11 11:38:10 -07:00
parent 8253cd1f69
commit 92186911ad
2 changed files with 8 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
#include "parsetype.h"
#include "tree.h"
#include "ref_trie.h"
/**
* A function pointer that is called
@@ -58,6 +59,10 @@ struct libab_behavior_s {
* The type of the function.
*/
libab_ref type;
/**
* The type parameters for the given behavior.
*/
libab_ref_trie type_params;
};
/**
* A struct that holds informatiion