package FrontC

  1. Overview
  2. Docs
type token =
  1. | IDENT of string
  2. | CST_CHAR of string
  3. | CST_INT of string
  4. | CST_FLOAT of string
  5. | CST_STRING of string
  6. | NAMED_TYPE of string
  7. | GNU_ATTRS of Cabs.gnu_attrs
  8. | EOF
  9. | CHAR
  10. | INT
  11. | DOUBLE
  12. | FLOAT
  13. | VOID
  14. | ENUM
  15. | STRUCT
  16. | TYPEDEF
  17. | UNION
  18. | SIGNED
  19. | UNSIGNED
  20. | LONG
  21. | SHORT
  22. | VOLATILE
  23. | EXTERN
  24. | STATIC
  25. | CONST
  26. | AUTO
  27. | REGISTER
  28. | RESTRICT
  29. | SIZEOF
  30. | ASM
  31. | EQ of string * int
  32. | PLUS_EQ of string * int
  33. | MINUS_EQ of string * int
  34. | STAR_EQ of string * int
  35. | SLASH_EQ of string * int
  36. | PERCENT_EQ of string * int
  37. | AND_EQ of string * int
  38. | PIPE_EQ of string * int
  39. | CIRC_EQ of string * int
  40. | INF_INF_EQ of string * int
  41. | SUP_SUP_EQ of string * int
  42. | ARROW
  43. | DOT
  44. | EQ_EQ
  45. | EXCLAM_EQ
  46. | INF
  47. | SUP
  48. | INF_EQ
  49. | SUP_EQ
  50. | PLUS
  51. | MINUS
  52. | STAR
  53. | SLASH
  54. | PERCENT
  55. | TILDE
  56. | AND
  57. | PIPE
  58. | CIRC
  59. | EXCLAM
  60. | AND_AND
  61. | PIPE_PIPE
  62. | INF_INF
  63. | SUP_SUP
  64. | PLUS_PLUS
  65. | MINUS_MINUS
  66. | RPAREN of string * int
  67. | LPAREN of string * int
  68. | RBRACE of string * int
  69. | LBRACE of string * int
  70. | LBRACKET of string * int
  71. | RBRACKET of string * int
  72. | COLON of string * int
  73. | SEMICOLON of string * int
  74. | COMMA of string * int
  75. | ELLIPSIS of string * int
  76. | QUEST of string * int
  77. | BREAK of string * int
  78. | CONTINUE of string * int
  79. | GOTO of string * int
  80. | RETURN of string * int
  81. | SWITCH of string * int
  82. | CASE of string * int
  83. | DEFAULT of string * int
  84. | WHILE of string * int
  85. | DO of string * int
  86. | FOR of string * int
  87. | IF of string * int
  88. | ELSE of string * int
  89. | ATTRIBUTE
  90. | EXTENSION
  91. | INLINE
val interpret : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Cabs.definition list
OCaml

Innovation. Community. Security.