Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/reason-parser/reason_heuristics.mli
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
open Ppxlib

val is_punned_labelled_expression : expression -> string -> bool
val isUnderscoreIdent : expression -> bool
val isUnderscoreApplication : expression -> bool
val melExprCanBeUncurried : expression -> bool
val isPipeFirst : expression -> bool
val isPipeFirstWithNonSimpleJSXChild : expression -> bool
val singleTokenPatternOmmitTrail : string -> bool

val funAppCallbackExceedsWidth :
printWidth:int
-> args:(arg_label * expression) list
-> funExpr:expression
-> unit
-> bool
Loading