Overview  Index  Help 
SMLFormat

PREPROCESSOR

All Known Implementing Modules:

PreProcessor


signature PREPROCESSOR =
sig
  exception Fail of string
  val preProcess
      : PrinterParameter.parameter list ->
          FormatExpression.expression -> PrettyPrinter.symbol
end

This module translates FormatExpression.expression into PrettyPrinter.symbol.

Author:
YAMATODANI Kiyoshi
Version:
$Id: SigPREPROCESSOR.html,v 1.5 2007/03/27 15:03:01 kiyoshiy Exp $

       
Value detail

preProcess

fun preProcess parameter symbol
    : PrinterParameter.parameter list ->
        FormatExpression.expression -> PrettyPrinter.symbol

translates a FormatExpression.expression into a PrettyPrinter.symbol.

Parameters:
parameter
parameters which control the printer
symbol
a format expression
Returns:
a PrettyPrinter.symbol translated from the symbol.

 
Exception detail

Fail

exception Fail of string

raised when any error occurs.

Parameters:
message
the error message


Overview  Index  Help 
SMLFormat: Pretty-Printer library for SML