harrysarson/elm-decode-elmi/1.0.0

ElmFile.Interface

type Alias
= PublicAlias Alias
| PrivateAlias Alias

A type alias in an elm file.

= BinaryOperation
{ name : String
, annotation : Annotation
, associativity : Associativity
, precedence : Precedence
}

A binary option in an elm file.

Note: these will only show up in the interface exported by modules from the blessed elm/* packages.

= Interface
{ types_ : Dict String Annotation
, unions : Dict String Union
, aliases : Dict String Alias
, binaryOperations : Dict String BinaryOperation
}

The interface defined by a module.

= Interfaces (List ( Name, Interface ))

A list of interfaces defined by the modueles in a package.

type Union
= OpenUnion Union
| ClosedUnion Union
| PrivateUnion Union

A custom type in an elm file.