stil4m/elm-syntax/7.2.1

NOTE: the latest version is 7.3.9

Elm.Syntax.Import

Import Syntax

This syntax represents imports in Elm. For example:

import Html.Attributes as HA exposing (style)

Types

type alias Import =
{ moduleName : Node ModuleName
, moduleAlias : Maybe (Node ModuleName)
, exposingList : Maybe (Node Exposing)
}

Type alias representing an Import

Serialization

encode : Import -> Value

Encode a Import syntax element to JSON.

decoder : Decoder Import

JSON decoder for a Import syntax element.