Overview
Index
Help
SMLFormat
A
B
C
D
E
F
G
I
L
N
P
R
S
T
A
assoc
- Type in
FORMAT_EXPRESSION
the associativity between elements in guards.
assoc
- Type in
FormatExpression
assocDirection
- Datatype in
FORMAT_EXPRESSION
direction of the associativity between elements in guards
assocDirection
- Datatype in
FormatExpression
assocToString
- Value in
FORMAT_EXPRESSION
make a string representation of the assoc.
assocToString
- Value in
FormatExpression
B
BasicFormatters
- structure
SMLFORMAT.BasicFormatters
BasicFormatters
- structure
BasicFormatters
This module provides formatters for the standard types.
BasicFormatters
- structure
SMLFormat.BasicFormatters
BASIC_FORMATTERS
- signature
BASIC_FORMATTERS
This signature provides the specifications of formatters for the standard types.
C
Columns
- Constructor in
PRINTER_PARAMETER
the desired number of columns in which the output is formatted.
Columns
- Constructor in
PrinterParameter
D
defaultColumns
- Value in
PRINTER_PARAMETER
Its value is 80.
defaultColumns
- Value in
PrinterParameter
defaultGuardLeft
- Value in
PRINTER_PARAMETER
Its value is "(".
defaultGuardLeft
- Value in
PrinterParameter
defaultGuardRight
- Value in
PRINTER_PARAMETER
Its value is ")".
defaultGuardRight
- Value in
PrinterParameter
defaultNewline
- Value in
PRINTER_PARAMETER
Its value is "\n".
defaultNewline
- Value in
PrinterParameter
defaultSpace
- Value in
PRINTER_PARAMETER
Its value is " ".
defaultSpace
- Value in
PrinterParameter
Deferred
- Constructor in
FORMAT_EXPRESSION
deferred priority
Deferred
- Constructor in
FormatExpression
DeferredIndicator
- Constructor in
PRETTYPRINTER
the format indicators with deferred newline priority
DeferredIndicator
- Constructor in
PrettyPrinter
E
EndOfIndent
- Constructor in
FORMAT_EXPRESSION
pop a indent out of the indent stack
EndOfIndent
- Constructor in
FormatExpression
EndOfIndent
- Constructor in
PRETTYPRINTER
the end of indent scope
EndOfIndent
- Constructor in
PrettyPrinter
environment
- Type in
PRETTYPRINTER
environment
- Type in
PrettyPrinter
environmentEntry
- Type in
PRETTYPRINTER
The entry which contains the information needed to decide to begin newlines at the newline indicators.
environmentEntry
- Type in
PrettyPrinter
expression
- Datatype in
FORMAT_EXPRESSION
format expressions
expression
- Datatype in
FormatExpression
expression
- Type in
BASIC_FORMATTERS
format expression
expression
- Type in
BasicFormatters
F
Fail
- Exception in
PRETTYPRINTER
raised when any error occurs.
Fail
- Exception in
PrettyPrinter
raised when any error occurs.
Fail
- Exception in
PREPROCESSOR
raised when any error occurs.
Fail
- Exception in
PreProcessor
raised when any error occurs.
Fail
- Exception in
SMLFORMAT
raised when any error occurs.
Fail
- Exception in
SMLFormat
format
- Value in
PRETTYPRINTER
translates the symbol into a text representation which fits within the specified column width.
format
- Value in
PrettyPrinter
translates the symbol into a text representation which fits within the specified column width.
FormatExpression
- structure
FormatExpression
This module defines types which represents format expressions.
FormatExpression
- structure
SMLFORMAT.FormatExpression
FormatExpression
- structure
SMLFormat.FormatExpression
formatter
- Type in
BASIC_FORMATTERS
formatter for a type T receives a value of the type T and returns a list of format expressions of the string representation of the value.
formatter
- Type in
BasicFormatters
format_array
- Value in
BASIC_FORMATTERS
the formatter for array type.
format_array
- Value in
BasicFormatters
format_bool
- Value in
BASIC_FORMATTERS
the formatter for bool type.
format_bool
- Value in
BasicFormatters
format_char
- Value in
BASIC_FORMATTERS
the formatter for char type.
format_char
- Value in
BasicFormatters
format_exn
- Value in
BASIC_FORMATTERS
the formatter for exn type.
format_exn
- Value in
BasicFormatters
format_exn_Ref
- Value in
BASIC_FORMATTERS
format_exn_Ref
- Value in
BasicFormatters
FORMAT_EXPRESSION
- signature
FORMAT_EXPRESSION
This module defines types which represents format expressions.
format_int
- Value in
BASIC_FORMATTERS
the formatter for int type.
format_int
- Value in
BasicFormatters
format_list
- Value in
BASIC_FORMATTERS
the formatter for list type.
format_list
- Value in
BasicFormatters
format_option
- Value in
BASIC_FORMATTERS
the formatter for option type.
format_option
- Value in
BasicFormatters
format_order
- Value in
BASIC_FORMATTERS
the formatter for order type.
format_order
- Value in
BasicFormatters
format_real
- Value in
BASIC_FORMATTERS
the formatter for real type.
format_real
- Value in
BasicFormatters
format_ref
- Value in
BASIC_FORMATTERS
the formatter for ref type.
format_ref
- Value in
BasicFormatters
format_string
- Value in
BASIC_FORMATTERS
the formatter for string type.
format_string
- Value in
BasicFormatters
format_substring
- Value in
BASIC_FORMATTERS
the formatter for substring type.
format_substring
- Value in
BasicFormatters
format_unit
- Value in
BASIC_FORMATTERS
the formatter for unit type.
format_unit
- Value in
BasicFormatters
format_vector
- Value in
BASIC_FORMATTERS
the formatter for vector type.
format_vector
- Value in
BasicFormatters
format_word
- Value in
BASIC_FORMATTERS
the formatter for word type.
format_word
- Value in
BasicFormatters
G
Guard
- Constructor in
FORMAT_EXPRESSION
scope of indicator's priority (with assoc indicator)
Guard
- Constructor in
FormatExpression
GuardLeft
- Constructor in
PRINTER_PARAMETER
a string to be used to enclose at the left side of Guard.
GuardLeft
- Constructor in
PrinterParameter
GuardRight
- Constructor in
PRINTER_PARAMETER
a string to be used to enclose at the right side of Guard.
GuardRight
- Constructor in
PrinterParameter
I
Indicator
- Constructor in
FORMAT_EXPRESSION
format indicator
Indicator
- Constructor in
FormatExpression
Indicator
- Constructor in
PRETTYPRINTER
the format indicators
Indicator
- Constructor in
PrettyPrinter
isHigherThan
- Value in
FORMAT_EXPRESSION
compare two priorities.
isHigherThan
- Value in
FormatExpression
L
Left
- Constructor in
FORMAT_EXPRESSION
indicates left associativity
Left
- Constructor in
FormatExpression
List
- Constructor in
PRETTYPRINTER
non terminal
List
- Constructor in
PrettyPrinter
N
Neutral
- Constructor in
FORMAT_EXPRESSION
indicates non-directional associativity
Neutral
- Constructor in
FormatExpression
Newline
- Constructor in
PRINTER_PARAMETER
a string used to begin a new line.
Newline
- Constructor in
PrinterParameter
P
parameter
- Datatype in
PRINTER_PARAMETER
parameter
- Datatype in
PrinterParameter
parameter
- Datatype in
SMLFORMAT
parameter
- Datatype in
SMLFormat
parse
- Value in
FORMAT_EXPRESSION
parse format expression list.
parse
- Value in
FormatExpression
Preferred
- Constructor in
FORMAT_EXPRESSION
preferred priority of the specified priority
Preferred
- Constructor in
FormatExpression
preProcess
- Value in
PREPROCESSOR
translates a FormatExpression.expression into a PrettyPrinter.symbol.
preProcess
- Value in
PreProcessor
translates a FormatExpression.expression into a PrettyPrinter.symbol.
PREPROCESSOR
- signature
PREPROCESSOR
This module translates FormatExpression.expression into PrettyPrinter.symbol.
PreProcessor
- structure
PreProcessor
This module translates FormatExpression.expression into PrettyPrinter.symbol.
prettyPrint
- Value in
SMLFORMAT
translates the format expressions into a text representation which fits within the specified column width.
prettyPrint
- Value in
SMLFormat
PRETTYPRINTER
- signature
PRETTYPRINTER
This module translates the symbols into a text representation which fits within the specified column width.
PrettyPrinter
- structure
PrettyPrinter
This module translates the symbols into a text representation which fits within the specified column width.
PrinterParameter
- structure
PrinterParameter
parameter for pretty-printer.
PrinterParameter
- structure
SMLFORMAT.PrinterParameter
PrinterParameter
- structure
SMLFormat.PrinterParameter
PRINTER_PARAMETER
- signature
PRINTER_PARAMETER
parameter for pretty-printer.
priority
- Datatype in
FORMAT_EXPRESSION
priority of newline indicators.
priority
- Datatype in
FormatExpression
priorityToString
- Value in
FORMAT_EXPRESSION
make a string representation of the priority.
priorityToString
- Value in
FormatExpression
R
Right
- Constructor in
FORMAT_EXPRESSION
indicates right associativity
Right
- Constructor in
FormatExpression
S
SMLFORMAT
- signature
SMLFORMAT
Pretty-printer library for Standard ML.
SMLFormat
- structure
SMLFormat
Pretty-printer library for Standard ML.
Space
- Constructor in
PRINTER_PARAMETER
a string used to insert a space.
Space
- Constructor in
PrinterParameter
StartOfIndent
- Constructor in
FORMAT_EXPRESSION
push a indent on the indent stack
StartOfIndent
- Constructor in
FormatExpression
StartOfIndent
- Constructor in
PRETTYPRINTER
the width of indent.
StartOfIndent
- Constructor in
PrettyPrinter
symbol
- Datatype in
PRETTYPRINTER
symbol
- Datatype in
PrettyPrinter
T
Term
- Constructor in
FORMAT_EXPRESSION
string literal.
Term
- Constructor in
FormatExpression
Term
- Constructor in
PRETTYPRINTER
the term string literal
Term
- Constructor in
PrettyPrinter
toString
- Value in
FORMAT_EXPRESSION
make a string representation of the expression.
toString
- Value in
FormatExpression
Overview
Index
Help
SMLFormat: Pretty-Printer library for SML
A
B
C
D
E
F
G
I
L
N
P
R
S
T