Copyright | (c) Edward Kmett 2017 |
---|---|
License | BSD2 |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
class HasLanguageId s a | s -> a where #
languageId :: Lens' s a #
HasLanguageId TextDocumentItem Text | |
HasLanguageId Document Text # | |
class HasVersion s a | s -> a where #
HasVersion VersionedTextDocumentIdentifier Int | |
HasVersion TextDocumentItem Int | |
HasVersion Document Int # | |
class HasContents s a | s -> a where #
HasContents Document Rope # | |
HasContents HoverResult [MarkedString] | |
didOpen :: (MonadState s m, HasDocuments s Documents) => TextDocumentItem -> m () Source #
didChange :: (MonadState s m, HasDocuments s Documents) => DidChangeTextDocumentParams -> m () Source #
didSave :: (MonadState s m, HasDocuments s Documents) => DidSaveTextDocumentParams -> m () Source #
didClose :: (MonadState s m, HasDocuments s (HashMap DocumentUri a)) => TextDocumentIdentifier -> m () Source #