package mopsa

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Copyright (c) 2017-2019 Aymeric Fromherz and The MOPSA Project

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Pp - Pretty printer of the AST.

val str : Format.formatter -> string -> unit
val print_var : Format.formatter -> Ast.var -> unit
val print_program : Format.formatter -> Ast.program -> unit
val print_stmt : Format.formatter -> Ast.stmt -> unit
val print_except : Format.formatter -> Ast.except -> unit
val print_number : Format.formatter -> Cst.number -> unit
val print_exp : Format.formatter -> Ast.expr -> unit
val print_comp : Format.formatter -> Ast.comprehension -> unit
val print_binop : Format.formatter -> Ast.binop -> unit
val print_arithop : Format.formatter -> Cst.binop -> unit
val print_boolop : Format.formatter -> Cst.boolop -> unit
val print_unop : Format.formatter -> Cst.unop -> unit
val print_cmpop : Format.formatter -> Cst.cmpop -> unit
val print_orelse : Format.formatter -> Ast.stmt option -> unit
val print_finally : Format.formatter -> Ast.stmt option -> unit
OCaml

Innovation. Community. Security.