headroom-0.3.1.0: License Header Manager

Copyright(c) 2019-2020 Vaclav Svejcar
LicenseBSD-3-Clause
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.Ext.PureScript

Description

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

Documentation

extractVariables Source #

Arguments

:: CtHeaderConfig

license header configuration

-> Maybe TemplateMeta

extracted metadata from corresponding template

-> Maybe (Int, Int)

license header position (startLine, endLine)

-> Text

input text

-> Variables

extracted variables

Extracts variables from PureScript source code.

List of Extracted Variables:

  • _purescript_module_name - name of the PureScript module