Overview  Index  Help 
SMLDoc

ParserUtil


structure ParserUtil =
struct
  structure PositionMap : sig
                            type pos = int
                            type operations =
                                 {
                                   posToLocation : pos -> int * int,
                                   makeMessage : string * pos * pos -> string,
                                   onNewLine : int -> unit
                                 }
                            val create : string -> operations
                          end =
  struct
    type pos = int
    type operations =
         {
           posToLocation : pos -> int * int,
           makeMessage : string * pos * pos -> string,
           onNewLine : int -> unit
         }
    val create : string -> operations
  end
end

Utilities for parser.

Author:
YAMATODANI Kiyoshi
Version:
$Id: StrParserUtil.html,v 1.9 2007/02/17 07:01:58 kiyoshiy Exp $

         


Overview  Index  Help 
SMLDoc: Documentation generator for SML