annotate src/elab_print.sig @ 763:af41ec2f302a

Lexing character entities
author Adam Chlipala <adamc@hcoop.net>
date Thu, 30 Apr 2009 16:25:27 -0400
parents acb8537f58f0
children 9fd0cb0ef6e1
rev   line source
adamc@3 1 (* Copyright (c) 2008, Adam Chlipala
adamc@3 2 * All rights reserved.
adamc@3 3 *
adamc@3 4 * Redistribution and use in source and binary forms, with or without
adamc@3 5 * modification, are permitted provided that the following conditions are met:
adamc@3 6 *
adamc@3 7 * - Redistributions of source code must retain the above copyright notice,
adamc@3 8 * this list of conditions and the following disclaimer.
adamc@3 9 * - Redistributions in binary form must reproduce the above copyright notice,
adamc@3 10 * this list of conditions and the following disclaimer in the documentation
adamc@3 11 * and/or other materials provided with the distribution.
adamc@3 12 * - The names of contributors may not be used to endorse or promote products
adamc@3 13 * derived from this software without specific prior written permission.
adamc@3 14 *
adamc@3 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
adamc@3 16 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
adamc@3 17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
adamc@3 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
adamc@3 19 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
adamc@3 20 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
adamc@3 21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
adamc@3 22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
adamc@3 23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
adamc@3 24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
adamc@3 25 * POSSIBILITY OF SUCH DAMAGE.
adamc@3 26 *)
adamc@3 27
adamc@244 28 (* Pretty-printing Ur/Web *)
adamc@3 29
adamc@3 30 signature ELAB_PRINT = sig
adamc@623 31 val p_kind : ElabEnv.env -> Elab.kind Print.printer
adamc@3 32 val p_explicitness : Elab.explicitness Print.printer
adamc@3 33 val p_con : ElabEnv.env -> Elab.con Print.printer
adamc@171 34 val p_pat : ElabEnv.env -> Elab.pat Print.printer
adamc@10 35 val p_exp : ElabEnv.env -> Elab.exp Print.printer
adamc@3 36 val p_decl : ElabEnv.env -> Elab.decl Print.printer
adamc@31 37 val p_sgn_item : ElabEnv.env -> Elab.sgn_item Print.printer
adamc@41 38 val p_sgn : ElabEnv.env -> Elab.sgn Print.printer
adamc@3 39 val p_file : ElabEnv.env -> Elab.file Print.printer
adamc@11 40
adamc@11 41 val debug : bool ref
adamc@3 42 end
adamc@3 43