package frenetic

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type token =
  1. | WHILE
  2. | VSWITCH
  3. | VPORT
  4. | VLANPCP
  5. | VLAN
  6. | VFABRIC
  7. | VAR
  8. | TRUE
  9. | THEN
  10. | TCPSRCPORT
  11. | TCPDSTPORT
  12. | SWITCH
  13. | STRING of string
  14. | STAR
  15. | SLASH
  16. | SEMICOLON
  17. | RPAR
  18. | QUERY
  19. | PORT
  20. | PLUS
  21. | PIPE
  22. | OR
  23. | NOT
  24. | METAID of string
  25. | MAC of string
  26. | LPAR
  27. | LET
  28. | IVERSON of string * Location.t
  29. | IPPROTO
  30. | IP4SRC
  31. | IP4DST
  32. | IP4ADDR of string
  33. | INT of string
  34. | IN
  35. | IF
  36. | ID
  37. | FROM
  38. | FILTER
  39. | FALSE
  40. | ETHTYPE
  41. | ETHSRC
  42. | ETHDST
  43. | EQUALS
  44. | EOF
  45. | END
  46. | ELSE
  47. | DUP
  48. | DROP
  49. | DO
  50. | BEGIN
  51. | AT
  52. | ASSIGN
  53. | ANTIQ of string * Location.t
  54. | AND
  55. | ABSTRACTLOC
val pp_token : Ppx_deriving_runtime.Format.formatter -> token -> Ppx_deriving_runtime.unit
val show_token : token -> Ppx_deriving_runtime.string
type ('token, 'a) parser = (Stdlib.Lexing.lexbuf -> 'token) -> Stdlib.Lexing.lexbuf -> 'a
val parse : ?ppx:bool -> LexBuffer.t -> (token, 'a) parser -> 'a
val parse_string : ?ppx:bool -> ?pos:Stdlib.Lexing.position -> string -> (token, 'a) parser -> 'a
val parse_file : ?ppx:bool -> file:string -> (token, 'a) parser -> 'a
OCaml

Innovation. Community. Security.