Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
cachedIdentForId :: Id -> Maybe Int -> IdType -> G Identghc GHC.StgToJS.Ids Retrieve the cached Ident for the given Id if there is one. Otherwise make a new one with makeIdentForId and cache it.
declVarsForId :: Id -> G JStgStatghc GHC.StgToJS.Ids Declare all js vars for the id
-
ghc GHC.StgToJS.Ids Get fresh module-local Ident of the form: h$$unit:module_uniq
makeIdentForId :: Id -> Maybe Int -> IdType -> Module -> Identghc GHC.StgToJS.Ids Generate unique Ident for the given ID (uncached!) The ident has the following forms: global Id: h$unit:module.name[_num][_type_suffix] local Id: h$$unit:module.name[_num][_type_suffix]_uniq Note that the string is z-encoded except for "_" delimiters. Optional "_type_suffix" can be: - "_e" for IdEntry - "_con_e" for IdConEntry Optional "_num" is passed as an argument to this function. It is used for Haskell Ids that require several JS variables: e.g. 64-bit numbers (Word64#, Int64#), Addr#, StablePtr#, unboxed tuples, etc.
varForDataConEntryId :: Id -> G JStgExprghc GHC.StgToJS.Ids Retrieve datacon entry variable name for the given Id
varForEntryId :: Id -> G JStgExprghc GHC.StgToJS.Ids Retrieve entry variable name for the given Id
-
ghc GHC.StgToJS.Ids Retrieve default variable name for the given Id
varForIdN :: Id -> Int -> G JStgExprghc GHC.StgToJS.Ids Retrieve default variable name for the given Id with sub index
varsForId :: Id -> G [JStgExpr]ghc GHC.StgToJS.Ids Retrieve all the JS vars for the given Id
lks_unit_ids :: LinkSpec -> [UnitId]ghc GHC.StgToJS.Linker.Linker No documentation available.