stil4m/elm-syntax/4.0.4

NOTE: this package is not compatible with Elm 0.19.1

Elm.Processing

Elm.Processing

Processing raw files with the context of other files and dependencies.

Types

Opaque type to hold context for the processing

Functions

init : ProcessContext

Initialise an empty context

addFile : RawFile -> ProcessContext -> ProcessContext

Add a file to the context that may be a dependency for the file that will be processed.

addDependency : Dependency -> ProcessContext -> ProcessContext

Add a whole depenency with its modules to the context.

process : ProcessContext -> RawFile -> File

Process a rawfile with a context. Operator precedence and documentation will be fixed.