lerzegov/elm-syntax-fork/1.0.0

NOTE: the latest version is 1.1.0

Elm.Processing

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

Since v7.3.3, post-processing is unnecessary. Use Elm.Parser.parseToFile instead.

Types

Opaque type to hold context for the processing

Functions

Initialise an empty context

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

Add a whole dependency with its modules to the context.

process : ProcessContext -> RawFile -> File

Process a rawfile with a context.