package mopsa

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

Module Mopsa_py_parser.PpSource

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.

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

Innovation. Community. Security.