package p4pp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type bop =
  1. | Add
  2. | Sub
  3. | Mult
  4. | Div
  5. | Eq
  6. | Neq
  7. | Lt
  8. | Gt
  9. | Le
  10. | Ge
  11. | And
  12. | Or
  13. | BAnd
  14. | BOr
  15. | BXor
  16. | BShl
  17. | BShr
type uop =
  1. | Not
  2. | BNot
type test =
  1. | Int of Int64.t
  2. | Ident of string
  3. | Defined of string
  4. | BinOp of test * bop * test
  5. | UnOp of uop * test
type term =
  1. | String of string
  2. | Text of string
  3. | Include of int * bool * string
  4. | Define of string
  5. | Undef of string
  6. | IfDef of string * int * term list * int * term list * int
  7. | IfNDef of string * int * term list * int * term list * int
  8. | If of test * int * term list * int * term list * int
OCaml

Innovation. Community. Security.