Jeroen Engels
|
132c887364
|
Use if/else
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
1d89f1151a
|
Rename function
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
0206976913
|
Remove now redundant checks for shouldVisitDeclarationsAndExpressions
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
edb6d27814
|
Visit expressions even when there are no declaration visitors
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
c0d62eeec9
|
Add visitDeclarationButOnlyExpressions
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
c4d2f1e14f
|
Duplicate case branches
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
a9cff8f85f
|
Use case expression
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
2f68b275ba
|
Re-use visitOnlyDeclaration
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
3fd241eab3
|
Pass errors and context
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
4fda1b9f54
|
Pass errors and context
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
81d4eeec76
|
Use simpler version of declaration visitor if there is no expression visitor
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
ec104687a6
|
Return a maybe
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
3a3c1bfbc4
|
Move creation of expression visitor
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
dc1f0bb08d
|
Add visitOnlyExpressionsOnlyOnEnter
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
6fade9f954
|
Add visitOnlyExpressions
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
50d26f3314
|
Remove unused function
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
c30d27ea60
|
Rename function
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
758bc73116
|
Use pattern matching
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
5ebeca2ddc
|
Move declaration
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
cb71668a54
|
Don't pass expressionVisitorRecord
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
d47f4440ea
|
Use expressionVisitor
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
a3c6a1a781
|
Pass expressionVisitor
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
7a830e1a06
|
Make expressionVisitor take a single Node
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
8bc5c18ba5
|
Explicit all arguments
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
46693801d5
|
Inline functionToExpression
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
dc13bd4a08
|
Don't use accumulateList
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
3f7c937c46
|
Inline expressionsInDeclaration
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
c0fd9bfa20
|
Don't call expression visitor if there are no expressions
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
a90152ad14
|
Restore usage of accumulateList
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
65146e9850
|
Remove handling of unnecessary patterns
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
77390095c4
|
Add expressionVisitor
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
6f206f8392
|
Extract variable
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
bc22c438e8
|
Remove unused field from RunnableVisitor
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
64586a901b
|
Re-use visitExpressions
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
9ee932c830
|
Add visit expressions
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
53af68a551
|
Remove unused function
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
0fb0a5a368
|
Use visitor inside the run
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
9c8b4fabd8
|
Reverse
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
bc828a333a
|
Rename
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
1f49a7e2fd
|
Add declarationAndExpressionVisitor
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
1c0b742df2
|
Compute accumulator
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
c1ef4baee3
|
Introduce variable
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
c8eda20c20
|
Introduce type alias for ModuleRuleSchemaData
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
92aa1c0822
|
Don't visit declarations and expression if there are no visitors for them
|
2021-10-27 23:09:12 +02:00 |
|
Jeroen Engels
|
b71984aebb
|
Backport rules from elm-review-unused
|
2021-10-24 00:38:58 +02:00 |
|
Jeroen Engels
|
076b299a82
|
2.6.0
|
2021-10-23 19:45:46 +02:00 |
|
Jeroen Engels
|
aba58c7763
|
Add new visitors for let declarations and case branches
|
2021-10-23 19:44:53 +02:00 |
|
Jeroen Engels
|
0285ed2447
|
Use List.append
|
2021-10-23 19:37:39 +02:00 |
|
Jeroen Engels
|
d521d56dd7
|
Use pattern match over Maybe
|
2021-10-23 18:20:44 +02:00 |
|
Jeroen Engels
|
20411ff911
|
Use pattern match over result pipeline
|
2021-10-23 18:18:20 +02:00 |
|