package css-parser

  1. Overview
  2. Docs
type token =
  1. | URI of string
  2. | UNICODE_RANGE of string
  3. | STRING of string
  4. | SEMI_COLON
  5. | RIGHT_PAREN
  6. | RIGHT_BRACKET
  7. | RIGHT_BRACE
  8. | PERCENTAGE
  9. | OPERATOR of string
  10. | NUMBER of string
  11. | NESTED_AT_RULE of string
  12. | LEFT_PAREN
  13. | LEFT_BRACKET
  14. | LEFT_BRACE
  15. | IMPORTANT
  16. | IDENT of string
  17. | HASH of string
  18. | FUNCTION of string
  19. | FLOAT_DIMENSION of string * string * Types.dimension
  20. | EOF
  21. | DIMENSION of string * string
  22. | DELIM of string
  23. | COLON
  24. | AT_RULE_WITHOUT_BODY of string
  25. | AT_RULE of string
exception Error
val stylesheet : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Types.Stylesheet.t
val declaration_list : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Css__Types.Declaration_list.kind list * Location.t
OCaml

Innovation. Community. Security.