package pfff

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module PI = Parse_info
type token =
  1. | TComment of Parse_info.t
  2. | TCommentSpace of Parse_info.t
  3. | TCommentNewline of Parse_info.t
  4. | TNumber of string * Parse_info.t
  5. | TString of string * Parse_info.t
  6. | TChar of string * Parse_info.t
  7. | TIdent of string * Parse_info.t
  8. | TUpperIdent of string * Parse_info.t
  9. | TSymbol of string * Parse_info.t
  10. | TOParen of Parse_info.t
  11. | TCParen of Parse_info.t
  12. | TOBracket of Parse_info.t
  13. | TCBracket of Parse_info.t
  14. | TOBrace of Parse_info.t
  15. | TCBrace of Parse_info.t
  16. | TComma of Parse_info.t
  17. | TSemiColon of Parse_info.t
  18. | TPipe of Parse_info.t
  19. | Tdata of Parse_info.t
  20. | Tnewtype of Parse_info.t
  21. | Ttype of Parse_info.t
  22. | Tclass of Parse_info.t
  23. | Tinstance of Parse_info.t
  24. | Tdefault of Parse_info.t
  25. | Tderiving of Parse_info.t
  26. | Tdo of Parse_info.t
  27. | Tif of Parse_info.t
  28. | Tthen of Parse_info.t
  29. | Telse of Parse_info.t
  30. | Tcase of Parse_info.t
  31. | Tof of Parse_info.t
  32. | Tmodule of Parse_info.t
  33. | Timport of Parse_info.t
  34. | Tlet of Parse_info.t
  35. | Tin of Parse_info.t
  36. | Twhere of Parse_info.t
  37. | Tinfix of Parse_info.t
  38. | Tinfixl of Parse_info.t
  39. | Tinfixr of Parse_info.t
  40. | Tqualified of Parse_info.t
  41. | Tas of Parse_info.t
  42. | Thiding of Parse_info.t
  43. | TUnknown of Parse_info.t
  44. | EOF of Parse_info.t
val is_eof : token -> bool
val is_comment : token -> bool
val is_just_comment : token -> bool
val visitor_info_of_tok : (Parse_info.t -> Parse_info.t) -> token -> token
val info_of_tok : token -> Parse_info.t
val str_of_tok : token -> string