Copyright | (c) 2019-2021 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Headroom currently supports working with file types defined in FileType
type, and because every type of source code file requires different handling of
some aspects, this file type specific support is implemented for every supported
file type and exposed as instance of FileSupport
data type.
Synopsis
- fileSupport :: FileType -> FileSupport
- analyzeSourceCode :: FileSupport -> Text -> SourceCode
Documentation
fileSupport :: FileType -> FileSupport Source #
Returns FileSupport
for corresponding FileType
.
:: FileSupport |
|
-> Text | raw source code to analyze |
-> SourceCode | analyzed source code |
Analyzes the raw source code of given type using provided FileSupport
.