summaryrefslogtreecommitdiff
path: root/ghc/compiler/reader/ReadPragmas2.hi
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/reader/ReadPragmas2.hi')
-rw-r--r--ghc/compiler/reader/ReadPragmas2.hi21
1 files changed, 21 insertions, 0 deletions
diff --git a/ghc/compiler/reader/ReadPragmas2.hi b/ghc/compiler/reader/ReadPragmas2.hi
new file mode 100644
index 0000000000..4e787b303c
--- /dev/null
+++ b/ghc/compiler/reader/ReadPragmas2.hi
@@ -0,0 +1,21 @@
+{-# GHC_PRAGMA INTERFACE VERSION 5 #-}
+interface ReadPragmas2 where
+import HsPragmas(ClassPragmas, DataPragmas, InstancePragmas, TypePragmas)
+import HsTypes(PolyType)
+import Maybes(Labda)
+import PrefixSyn(RdrTySigPragmas)
+import PreludePS(_PackedString)
+import ProtoName(ProtoName)
+import U_hpragma(U_hpragma)
+type ProtoUfBinder = (ProtoName, PolyType ProtoName)
+wlkClassPragma :: U_hpragma -> _PackedString -> _State _RealWorld -> (ClassPragmas ProtoName, _State _RealWorld)
+ {-# GHC_PRAGMA _A_ 1 _U_ 122 _N_ _S_ "S" _N_ _N_ #-}
+wlkDataPragma :: U_hpragma -> _PackedString -> _State _RealWorld -> (DataPragmas ProtoName, _State _RealWorld)
+ {-# GHC_PRAGMA _A_ 1 _U_ 122 _N_ _S_ "S" _N_ _N_ #-}
+wlkInstPragma :: U_hpragma -> _PackedString -> _State _RealWorld -> ((Labda _PackedString, InstancePragmas ProtoName), _State _RealWorld)
+ {-# GHC_PRAGMA _A_ 3 _U_ 122 _N_ _S_ "S" _N_ _N_ #-}
+wlkTySigPragmas :: U_hpragma -> _PackedString -> _State _RealWorld -> (RdrTySigPragmas, _State _RealWorld)
+ {-# GHC_PRAGMA _A_ 3 _U_ 222 _N_ _S_ "S" _N_ _N_ #-}
+wlkTypePragma :: U_hpragma -> _PackedString -> _State _RealWorld -> (TypePragmas, _State _RealWorld)
+ {-# GHC_PRAGMA _A_ 3 _U_ 121 _N_ _S_ "SLU(P)" {_A_ 3 _U_ 122 _N_ _N_ _N_ _N_} _N_ _N_ #-}
+