stil4m/elm-syntax/2.1.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 Range
| FunctionExpose String Range
| TypeOrAliasExpose String Range
| TypeExpose ExposedType

An exposed entity

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

Exposed Type

( String, Range )

Exposed Value Constructor

Functions

topLevelExposeRange : 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