aboutsummaryrefslogtreecommitdiff
path: root/frontend/generics.dcl
blob: 8ee51874ba60f35f9ee44078586ec8495bb1a4af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
definition module generics 

import checksupport
from transform import Group

convertGenerics :: !{!Group} !Int !{#CommonDefs} !*{# FunDef} !*TypeDefInfos !*Heaps !*HashTable !*PredefinedSymbols !u:{# DclModule} !*ErrorAdmin 
	-> (!{!Group}, !{#CommonDefs}, !*{# FunDef}, !IndexRange, !*TypeDefInfos, !*Heaps, !*HashTable, !*PredefinedSymbols, !u:{# DclModule}, !*ErrorAdmin)

getGenericMember :: !(Global Index) !TypeKind !{#CommonDefs} -> (Bool, Global Index)