diff options
Diffstat (limited to 'frontend/syntax.dcl')
-rw-r--r-- | frontend/syntax.dcl | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/frontend/syntax.dcl b/frontend/syntax.dcl index c9427dc..f186ef8 100644 --- a/frontend/syntax.dcl +++ b/frontend/syntax.dcl @@ -58,19 +58,10 @@ instance toString Ident | STE_DictCons !ConsDef | STE_DictField !SelectorDef | STE_Called ![Index] /* used during macro expansion to indicate that this function is called */ - | STE_ExplImp !Bool !(Optional ImportDeclaration) !STE_Kind !Bool /* auxiliary used in module explicitimports. */ - /* 1st arg: initialized with False and set to True when the searched symbol has been found to indicate. - 2nd arg: Yes: the ImportDeclaration with which it was intended to import the symbol. - No: for symbols within a bracket (fields, constructors, members) - 3rd arg: for error messages: the expected namespace of the intended imported symbol - 4th arg: at first the idents for _all_ fields, constructors & members are added to the symbol table. In - case of a selective import like "... import :: R {f1}" this bit is used to remove all - fields different from "f1" from the symbol table again. - */ | STE_ExplImpSymbol !Int | STE_ExplImpComponentNrs ![ComponentNrAndIndex] ![Declaration] /* stores the numbers of all module components that import the symbol from - the "actual" dcl module. Further for each class the all encountered + the "actual" dcl module. Further for each class all encountered instances are accumulated. */ | STE_BelongingSymbol !Int |