harrysarson / elm-decode-elmi / ElmFile.Interface


type Alias
    = PublicAlias Ast.Canonical.Alias
    | PrivateAlias Ast.Canonical.Alias

A type alias in an elm file.


type BinaryOperation
    = BinaryOperation ({ name : String, annotation : Ast.Canonical.Annotation, associativity : Ast.BinaryOperation.Associativity, precedence : Ast.BinaryOperation.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.


type Interface
    = Interface ({ types_ : Dict String Ast.Canonical.Annotation, unions : Dict String Union, aliases : Dict String Alias, binaryOperations : Dict String BinaryOperation })

The interface defined by a module.


type Interfaces
    = Interfaces (List ( ElmFile.Module.Name, Interface ))

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


type Union
    = OpenUnion Ast.Canonical.Union
    | ClosedUnion Ast.Canonical.Union
    | PrivateUnion Ast.Canonical.Union

A custom type in an elm file.