This syntax represents the exposing declaration for both imports and module headers. For example:
exposing (Foo(..))
exposing (..)An exposed entity
Exposed Type
Check whether an import/module exposing list exposes a certain function. Will yield True if Exposing is exposing everything (All).
exposesFunction "something" (All someRange) == True
exposesFunction "divide" (Explicit [ Node someRange (FunctionExpose "add") ]) == False
exposesFunction "add" (Explicit [ Node someRange (FunctionExpose "add") ]) == TrueCollect all operator names from a list of TopLevelExposes
Diffent kind of exposing declarations