source: driver/clightPrinter.mli @ 3000

Last change on this file since 3000 was 2787, checked in by campbell, 7 years ago

Output stack costs in driver.

File size: 825 bytes
Line 
1(** This module provides functions to print elements of [Extracted.Csyntax]
2    programs. *)
3
4type cost_style =
5| Cost_plain
6| Cost_numbered of Extracted.Label.clight_cost_map * Extracted.Joint.stack_cost_model
7| Cost_instrumented of Extracted.Label.clight_cost_map * Extracted.Joint.stack_cost_model
8
9val print_program: cost_style -> Extracted.Csyntax.clight_program -> string
10
11val print_expression: cost_style -> Extracted.Csyntax.expr -> string
12
13val string_of_ctype: Extracted.Csyntax.type0 -> string
14
15val print_statement: cost_style -> Extracted.Csyntax.statement -> string
16
17val print_ctype_prot: Extracted.Csyntax.type0 -> string
18
19val print_ctype_def: Extracted.Csyntax.type0 -> string
20
21val string_of_unop : Extracted.Csyntax.unary_operation -> string
22
23val string_of_binop : Extracted.Csyntax.binary_operation -> string
Note: See TracBrowser for help on using the repository browser.