Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.PureScript.Ide.Command
Description
Datatypes for the commands psc-ide accepts
Documentation
Constructors
Load [ModuleName] | |
LoadSync [ModuleName] | |
Type | |
Fields
| |
Complete | |
CaseSplit | |
Fields | |
AddClause | |
Fields | |
FindUsages | |
Fields | |
Import FilePath (Maybe FilePath) [Filter] ImportCommand | |
List | |
Rebuild FilePath (Maybe FilePath) (Set CodegenTarget) | |
RebuildSync FilePath (Maybe FilePath) (Set CodegenTarget) | |
Cwd | |
Reset | |
Quit |
commandName :: Command -> Text #
data ImportCommand #
Constructors
AddImplicitImport ModuleName | |
AddQualifiedImport ModuleName ModuleName | |
AddImportForIdentifier Text (Maybe ModuleName) |
Instances
FromJSON ImportCommand # | |
Defined in Language.PureScript.Ide.Command Methods parseJSON :: Value -> Parser ImportCommand # parseJSONList :: Value -> Parser [ImportCommand] # | |
Show ImportCommand # | |
Defined in Language.PureScript.Ide.Command Methods showsPrec :: Int -> ImportCommand -> ShowS # show :: ImportCommand -> String # showList :: [ImportCommand] -> ShowS # | |
Eq ImportCommand # | |
Defined in Language.PureScript.Ide.Command Methods (==) :: ImportCommand -> ImportCommand -> Bool # (/=) :: ImportCommand -> ImportCommand -> Bool # |
Constructors
LoadedModules | |
Imports FilePath | |
AvailableModules |