diff options
author | johnvg | 2011-04-06 10:12:15 +0000 |
---|---|---|
committer | johnvg | 2011-04-06 10:12:15 +0000 |
commit | fb3a3d6a01992541475d1b7c47252cfa0197aa25 (patch) | |
tree | 3db8e564d89bc4a0cce7891d6220e21a6cf05e03 /frontend/hashtable.dcl | |
parent | use type ImportQualified instead of Bool for fields import_qualified and ei_q... (diff) |
add qualified import of a module, for functions, macros, constructors, types and classes
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1901 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/hashtable.dcl')
-rw-r--r-- | frontend/hashtable.dcl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/frontend/hashtable.dcl b/frontend/hashtable.dcl index ad0e238..45b3bac 100644 --- a/frontend/hashtable.dcl +++ b/frontend/hashtable.dcl @@ -18,7 +18,7 @@ set_hte_mark :: !Int !*HashTable -> *HashTable | IC_Type | IC_TypeAttr | IC_Class - | IC_Module + | IC_Module !QualifiedIdents | IC_Field !Ident | IC_Selector | IC_Instance ![Type] @@ -26,9 +26,15 @@ set_hte_mark :: !Int !*HashTable -> *HashTable | IC_GenericCase !Type | IC_Unknown +:: QualifiedIdents = QualifiedIdents !Ident !IdentClass !QualifiedIdents + | NoQualifiedIdents; + :: BoxedIdent = {boxed_ident::!Ident} putIdentInHashTable :: !String !IdentClass !*HashTable -> (!BoxedIdent, !*HashTable) +putQualifiedIdentInHashTable :: !String !BoxedIdent !IdentClass !*HashTable -> (!BoxedIdent, !*HashTable) putPredefinedIdentInHashTable :: !Ident !IdentClass !*HashTable -> *HashTable +get_qualified_idents_from_hash_table :: !Ident !*HashTable -> (!QualifiedIdents,!*HashTable) + remove_icl_symbols_from_hash_table :: !*HashTable -> *HashTable |