stil4m/elm-syntax/3.3.1

NOTE: this package is not compatible with Elm 0.19.1

Elm.Syntax.Exposing

Exposing Syntax

Types

type Exposing a
= All Range
| Explicit (List a)

Diffent kind of exposing declarations

= InfixExpose String
| FunctionExpose String
| TypeOrAliasExpose String
| TypeExpose ExposedType

An exposed entity

type alias ExposedType =
{ name : String
, constructors : Maybe (Exposing ValueConstructorExpose)
}

Exposed Type

Ranged String

Exposed Value Constructor

Functions

topLevelExposeRange : Ranged TopLevelExpose -> Range

Find out the range of a top level expose

exposesFunction : String -> Exposing TopLevelExpose -> Bool

Check whether an import/module exposing list exposes a certain function

operators : List TopLevelExpose -> List String

Get all operator names from a list of TopLevelExposes