package liquidsoap-lang

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Liquidsoap_lang.PreprocessorSource

Sourcetype tokenizer = unit -> Parser.token * Term_base.parsed_pos
Sourcetype exp_item =
  1. | String of string
  2. | Expr of tokenizer
  3. | End
Sourceexception Found_interpolation
Sourceval expand_string : ?fname:string -> (unit -> Parser.token * Term_base.parsed_pos) -> unit -> Parser.token * Term_base.parsed_pos

Special token in order to avoid 3.s = "a" to be parsed as a float followed by a record.

Sourceval dotter : (unit -> Parser.token * 'a) -> unit -> Parser.token * 'a
Sourceval uminus : (unit -> Parser.token * 'a) -> unit -> Parser.token * 'a

Change MINUS to UMINUS if the minus is not preceded by a number (or an expression which could produce a number).

Sourceval strip_newlines : (unit -> Parser.token * ('a * 'b)) -> unit -> Parser.token * ('a * 'b)
Sourceval mk_tokenizer : ?fname:string -> Sedlexing.lexbuf -> unit -> Parser.token * Lexing.position * Lexing.position