headroom-0.4.0.0: License Header Manager
Copyright(c) 2019-2021 Vaclav Svejcar
LicenseBSD-3-Clause
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.FileSupport

Description

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

Documentation

fileSupport :: FileType -> FileSupport Source #

Returns FileSupport for corresponding FileType.

analyzeSourceCode Source #

Arguments

:: FileSupport

FileSupport implementation used for analysis

-> Text

raw source code to analyze

-> SourceCode

analyzed source code

Analyzes the raw source code of given type using provided FileSupport.