C_sharp_strange_lib.AstCopyright 2026, Dmitrii Kuznetsov
SPDX-License-Identifier: LGPL-3.0-or-later
val pp_val_type :
Ppx_deriving_runtime.Format.formatter ->
val_type ->
Ppx_deriving_runtime.unitval show_val_type : val_type -> Ppx_deriving_runtime.stringval pp_ident :
Ppx_deriving_runtime.Format.formatter ->
ident ->
Ppx_deriving_runtime.unitval show_ident : ident -> Ppx_deriving_runtime.stringval pp_base_type :
Ppx_deriving_runtime.Format.formatter ->
base_type ->
Ppx_deriving_runtime.unitval show_base_type : base_type -> Ppx_deriving_runtime.stringType delcaration
val pp__type :
Ppx_deriving_runtime.Format.formatter ->
_type ->
Ppx_deriving_runtime.unitval show__type : _type -> Ppx_deriving_runtime.stringVariable
val pp_var_type :
Ppx_deriving_runtime.Format.formatter ->
var_type ->
Ppx_deriving_runtime.unitval show_var_type : var_type -> Ppx_deriving_runtime.stringval pp_modifier :
Ppx_deriving_runtime.Format.formatter ->
modifier ->
Ppx_deriving_runtime.unitval show_modifier : modifier -> Ppx_deriving_runtime.stringval pp_var_decl :
Ppx_deriving_runtime.Format.formatter ->
var_decl ->
Ppx_deriving_runtime.unitval show_var_decl : var_decl -> Ppx_deriving_runtime.stringval pp_params :
Ppx_deriving_runtime.Format.formatter ->
params ->
Ppx_deriving_runtime.unitval show_params : params -> Ppx_deriving_runtime.stringval pp_bin_op :
Ppx_deriving_runtime.Format.formatter ->
bin_op ->
Ppx_deriving_runtime.unitval show_bin_op : bin_op -> Ppx_deriving_runtime.stringval pp_un_op :
Ppx_deriving_runtime.Format.formatter ->
un_op ->
Ppx_deriving_runtime.unitval show_un_op : un_op -> Ppx_deriving_runtime.stringFrom clauses
val equal_from_clause : from_clause -> from_clause -> Ppx_deriving_runtime.boolval pp_from_clause :
Ppx_deriving_runtime.Format.formatter ->
from_clause ->
Ppx_deriving_runtime.unitval show_from_clause : from_clause -> Ppx_deriving_runtime.stringtype expr = | EValue of val_typeSome value
*)| EBinOp of bin_op * expr * exprBinary operation
*)| EUnOp of un_op * exprUnary operation
*)| EId of identIdentificator expression
*)| EArrayAccess of expr * exprArray access: a = arri
| EFuncCall of expr * argsCall of function: name(arguments)
*)| EAwait of exprAwait expression
Language expressions
val pp_expr :
Ppx_deriving_runtime.Format.formatter ->
expr ->
Ppx_deriving_runtime.unitval show_expr : expr -> Ppx_deriving_runtime.stringval pp_args :
Ppx_deriving_runtime.Format.formatter ->
args ->
Ppx_deriving_runtime.unitval show_args : args -> Ppx_deriving_runtime.stringtype stmt = | SFor of stmt option * expr option * expr option * stmtFor cycle: for (int i = 0, j = 3; i < 4; i++, j--) {}
| SIf of expr * stmt * stmt optionIf condition: if (a) then { b } (else { c } )
| SWhile of expr * stmtWhile cycle: while (a) { }
| SReturn of expr optionReturn: return (a)
| SBlock of stmt listBlock of statements: { a }; could be empty: {}
*)| SBreakCycle break
| SContinueCycle continue
| SExpr of exprAnother expression
*)| SDecl of var_decl * expr optionVar declaration
*)Language statements
val pp_stmt :
Ppx_deriving_runtime.Format.formatter ->
stmt ->
Ppx_deriving_runtime.unitval show_stmt : stmt -> Ppx_deriving_runtime.stringval pp_field :
Ppx_deriving_runtime.Format.formatter ->
field ->
Ppx_deriving_runtime.unitval show_field : field -> Ppx_deriving_runtime.stringC Sharp class
val equal_c_sharp_class :
c_sharp_class ->
c_sharp_class ->
Ppx_deriving_runtime.boolval pp_c_sharp_class :
Ppx_deriving_runtime.Format.formatter ->
c_sharp_class ->
Ppx_deriving_runtime.unitval show_c_sharp_class : c_sharp_class -> Ppx_deriving_runtime.stringProgram AST
val pp_program :
Ppx_deriving_runtime.Format.formatter ->
program ->
Ppx_deriving_runtime.unitval show_program : program -> Ppx_deriving_runtime.string