Module Liquidsoap_lang_parser.Parser

The generated grammar.

type token =
  1. | YIELDS
  2. | WHILE
  3. | VERSION of Liquidsoap_lang_prelude.Lang_string.Version.t
  4. | VARLPAR of string
  5. | VARLBRA of string
  6. | VAR of string
  7. | UNDERSCORE
  8. | UMINUS
  9. | TRY
  10. | TO
  11. | TIMES
  12. | TIME of Liquidsoap_lang_ast.Parsed_term.time_el
  13. | TILD
  14. | THEN
  15. | STRING of char * string
  16. | SET
  17. | SEQSEQ
  18. | SEQ
  19. | RPAR
  20. | REGEXP of string * char list
  21. | RCUR
  22. | RBRA
  23. | RAW_STRING of string * string
  24. | QUESTION_DOT
  25. | QUESTION
  26. | PP_STRING_START of char
  27. | PP_REGEXP of string * char list * Liquidsoap_lang_ast.Parsed_term.pos
  28. | PP_INT_DOT_LCUR of string
  29. | PP_IFVERSION
  30. | PP_IFENCODER of bool
  31. | PP_IFDEF of bool
  32. | PP_ENDL
  33. | PP_ENDIF
  34. | PP_ELSE
  35. | OR
  36. | OPEN
  37. | NULLDOT
  38. | NULL
  39. | NOT
  40. | MINUS
  41. | LPAR
  42. | LETLBRA of Parser_helper.lexer_let_decoration
  43. | LET of Parser_helper.lexer_let_decoration
  44. | LCUR
  45. | LBRA
  46. | INTERVAL of Liquidsoap_lang_ast.Parsed_term.time_el * Liquidsoap_lang_ast.Parsed_term.time_el
  47. | INTERPOLATED_STRING of string
  48. | INT of string
  49. | INCLUDE of Liquidsoap_lang_ast.Parsed_term.inc
  50. | IF
  51. | GETS
  52. | GET
  53. | FUN
  54. | FOR
  55. | FLOAT of string
  56. | FINALLY
  57. | EOF
  58. | END_INTERPOLATION
  59. | END
  60. | ENCODER of string
  61. | ELSIF
  62. | ELSE
  63. | DOTVAR of string
  64. | DOTDOTDOT
  65. | DOT
  66. | DO
  67. | DEF of Parser_helper.lexer_let_decoration
  68. | COMMA
  69. | COLONCOLON
  70. | COLON
  71. | COALESCE
  72. | CATCH
  73. | BOOL of bool
  74. | BIN3 of string
  75. | BIN2 of string
  76. | BIN1 of string
  77. | BEGIN_INTERPOLATION of char
  78. | BEGIN
  79. | AT
  80. | ARGS_OF
  81. | AND
exception Error
val time_predicate : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Liquidsoap_lang_ast.Parsed_term.t
val program : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Liquidsoap_lang_ast.Parsed_term.t
val plain_encoder_params : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Liquidsoap_lang_ast.Parsed_term.encoder_params
val interactive : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> Liquidsoap_lang_ast.Parsed_term.t
val annotate_metadata_entry : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> string * string
val annotate : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> (string * string) list