Copyright | (c) 2019-2020 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module provides extended support for PureScript source code files. Current implementation includes extracting of module name from currently processed PureScript source code file.
Synopsis
- extractVariables :: CtHeaderConfig -> Maybe TemplateMeta -> Maybe (Int, Int) -> Text -> Variables
Documentation
:: CtHeaderConfig | license header configuration |
-> Maybe TemplateMeta | extracted metadata from corresponding template |
-> Maybe (Int, Int) | license header position |
-> Text | input text |
-> Variables | extracted variables |
Extracts variables from PureScript source code.
List of Extracted Variables:
_purescript_module_name
- name of the PureScript module