mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-25 02:34:36 +03:00
Note in docs that declaration list is source order
This commit is contained in:
parent
a4816ddc11
commit
1ce2984340
@ -2666,7 +2666,8 @@ withDeclarationExitVisitor visitor (ModuleRuleSchema schema) =
|
|||||||
{-| Add a visitor to the [`ModuleRuleSchema`](#ModuleRuleSchema) which will visit the module's
|
{-| Add a visitor to the [`ModuleRuleSchema`](#ModuleRuleSchema) which will visit the module's
|
||||||
[declaration statements](https://package.elm-lang.org/packages/stil4m/elm-syntax/7.2.1/Elm-Syntax-Declaration)
|
[declaration statements](https://package.elm-lang.org/packages/stil4m/elm-syntax/7.2.1/Elm-Syntax-Declaration)
|
||||||
(`someVar = add 1 2`, `type Bool = True | False`, `port output : Json.Encode.Value -> Cmd msg`),
|
(`someVar = add 1 2`, `type Bool = True | False`, `port output : Json.Encode.Value -> Cmd msg`),
|
||||||
collect data and/or report patterns.
|
to collect data and/or report patterns. The declarations will be in the same
|
||||||
|
order that they appear in the source code.
|
||||||
|
|
||||||
It is similar to [withDeclarationVisitor](#withDeclarationVisitor), but the
|
It is similar to [withDeclarationVisitor](#withDeclarationVisitor), but the
|
||||||
visitor used with this function is called before the visitor added with
|
visitor used with this function is called before the visitor added with
|
||||||
|
Loading…
Reference in New Issue
Block a user