Home
last modified time | relevance | path

Searched refs:possImport (Results 1 – 4 of 4) sorted by relevance

/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/hlint-3.2.7/src/GHC/Util/
H A DScope.hs75 imps = [unLoc i | r <- real, i <- b, possImport i r]
85 res = [unLoc $ ideclName $ unLoc i | i <- is, possImport i x]
94 possImport :: LImportDecl GhcPs -> Located RdrName -> Bool
95 possImport i n | isSpecial n = False function
96 possImport (L _ i) (L _ (Qual mod x)) = function
97 mod `elem` ms && possImport (noLoc i{ideclQualified=NotQualified}) (noLoc $ mkRdrUnqual x)
99 possImport (L _ i) (L _ (Unqual x)) = ideclQualified i == NotQualified && maybe True f (ideclHiding… function
121 possImport _ _ = False function
/dports/devel/hs-hlint/hlint-3.3.4/src/GHC/Util/
H A DScope.hs75 imps = [unLoc i | r <- real, i <- b, possImport i r]
85 res = [unLoc $ ideclName $ unLoc i | i <- is, possImport i x]
94 possImport :: LImportDecl GhcPs -> Located RdrName -> Bool
95 possImport i n | isSpecial n = False function
96 possImport (L _ i) (L _ (Qual mod x)) = function
97 mod `elem` ms && possImport (noLoc i{ideclQualified=NotQualified}) (noLoc $ mkRdrUnqual x)
99 possImport (L _ i) (L _ (Unqual x)) = ideclQualified i == NotQualified && maybe True f (ideclHiding… function
121 possImport _ _ = False function
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/qmldesigner/components/itemlibrary/
H A Ditemlibrarywidget.cpp107 for (const auto &possImport : possImports) { in eventFilter() local
108 if (possImport.url() == import.url()) { in eventFilter()
109 m_model->changeImports({possImport}, {}); in eventFilter()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/qmldesigner/components/navigator/
H A Dnavigatortreemodel.cpp859 for (const auto &possImport : possImports) { in addImport() local
860 if (possImport.url() == import.url()) { in addImport()
861 import = possImport; in addImport()