Safe Haskell | None |
---|---|
Language | GHC2021 |
GHC.Tc.Types.TH
Synopsis
- data SpliceType
- data SpliceOrBracket
- data ThLevel
- = Splice SpliceType ThLevel
- | RunSplice (TcRef [ForeignRef (Q ())])
- | Comp
- | Brack ThLevel PendingStuff
- data PendingStuff
- data ThLevelIndex
- topLevel :: ThLevel
- topAnnLevel :: ThLevel
- topSpliceLevel :: ThLevel
- thLevelIndex :: ThLevel -> ThLevelIndex
- topLevelIndex :: ThLevelIndex
- spliceLevelIndex :: ThLevelIndex
- quoteLevelIndex :: ThLevelIndex
- thLevelIndexFromImportLevel :: ImportLevel -> ThLevelIndex
Documentation
data SpliceType Source #
data SpliceOrBracket Source #
Constructors
Splice SpliceType ThLevel | |
RunSplice (TcRef [ForeignRef (Q ())]) | |
Comp | |
Brack ThLevel PendingStuff |
Instances
data PendingStuff Source #
Constructors
RnPendingUntyped (TcRef [PendingRnSplice]) | |
RnPendingTyped | |
TcPending (TcRef [PendingTcSplice]) (TcRef WantedConstraints) QuoteWrapper |
data ThLevelIndex Source #
The integer which represents the level
Instances
Outputable ThLevelIndex Source # | |
Defined in GHC.Types.ThLevelIndex Methods ppr :: ThLevelIndex -> SDoc Source # | |
Eq ThLevelIndex Source # | |
Defined in GHC.Types.ThLevelIndex | |
Ord ThLevelIndex Source # | |
Defined in GHC.Types.ThLevelIndex Methods compare :: ThLevelIndex -> ThLevelIndex -> Ordering # (<) :: ThLevelIndex -> ThLevelIndex -> Bool # (<=) :: ThLevelIndex -> ThLevelIndex -> Bool # (>) :: ThLevelIndex -> ThLevelIndex -> Bool # (>=) :: ThLevelIndex -> ThLevelIndex -> Bool # max :: ThLevelIndex -> ThLevelIndex -> ThLevelIndex # min :: ThLevelIndex -> ThLevelIndex -> ThLevelIndex # |
thLevelIndex :: ThLevel -> ThLevelIndex Source #
thLevelIndexFromImportLevel :: ImportLevel -> ThLevelIndex Source #
Convert a ImportLevel
to a ThLevelIndex