|
structure SMLPPTest0005 =
struct
structure Assert = SMLUnit.Assert
structure Test = SMLUnit.Test
structure Testee = SMLPP
structure FE = Testee.FormatExpression
structure PP = Testee.PrinterParameter
val prettyPrint
val ind_s1
val ind_s2
val ind_sd
val testDeferredIndicator0001
val testDeferredIndicator0002
val testDeferredIndicator0003
val testDeferredIndicator0004
val suite
end
These cases pretty-print expressions which contain deferred newline indicators.
case | description |
---|---|
DeferredIndicator0001 | specifies the minimum number of columns which do not require to insert newline at deferred indicators |
DeferredIndicator0002 | specifies the minimum number of columns which requires to insert newline at deferred indicators |
DeferredIndicator0003 | including deferred newline indicator and requiring to insert newline at it, which causes to insert newline at the preferred indicator where would be not required to insert newline if the deffered indicator is not included. |
DeferredIndicator0004 | including deferred multiple newline indicators and requiring to insert at one of them but not required at the other. |
Value detail |
---|
val prettyPrint
val ind_s1
val ind_s2
val ind_sd
val testDeferredIndicator0001
val testDeferredIndicator0002
val testDeferredIndicator0003
val testDeferredIndicator0004
val suite
|