module Pretty: sig
.. end
A collection of pretty printing functions.
I don't believe it actually needs the Parser dependency.
Should probably absorb a fair margin from other files like Inspector.ml
A collection of pretty printing functions.
I don't believe it actually needs the Parser dependency.
Should probably absorb a fair margin from other files like Inspector.ml
val indent : int -> string
val _id : 'a -> 'a
val pp_lit : Ast.lit -> string
val pp_arith : Ast.arith -> string
val pp_numtest : Ast.numtest -> string
val pp_combtest : Ast.combtest -> string
val pp_op : Ast.op -> string
val pp_str_list : ('a -> string) -> 'a list -> 'b -> string
Parameters: |
stringer |
: |
'a -> string
|
a_list |
: |
'a list
|
depth |
: |
'b
|
|
val pp_opt : ('a -> string) -> 'a option -> string
Parameters: |
stringer |
: |
'a -> string
|
?? |
: |
'a option
|
|
val pp_expr : int -> Ast.expr -> string
val pp_var_def : int -> Ast.var_def -> string
val pp_stmt : int -> Ast.stmt -> string
val inspect_clause : int -> Ast.expr option * Ast.stmt list -> string
val class_section : Ast.class_section -> string
val pp_func_def : int -> Ast.func_def -> string
val pp_member_def : int -> Ast.member_def -> string
val pp_class_sections : Ast.class_sections_def -> int -> string
val pp_class_def : Ast.class_def -> string