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 Source #
data ImportCommand Source #
Constructors
AddImplicitImport ModuleName | |
AddQualifiedImport ModuleName ModuleName | |
AddImportForIdentifier Text (Maybe ModuleName) |
Instances
Eq ImportCommand Source # | |
Defined in Language.PureScript.Ide.Command Methods (==) :: ImportCommand -> ImportCommand -> Bool # (/=) :: ImportCommand -> ImportCommand -> Bool # | |
Show ImportCommand Source # | |
Defined in Language.PureScript.Ide.Command Methods showsPrec :: Int -> ImportCommand -> ShowS # show :: ImportCommand -> String # showList :: [ImportCommand] -> ShowS # | |
FromJSON ImportCommand Source # | |
Defined in Language.PureScript.Ide.Command Methods parseJSON :: Value -> Parser ImportCommand # parseJSONList :: Value -> Parser [ImportCommand] # |