package liquid_ml
Module Liquid_ml.ExportsSource
include module type of struct include Liquid_syntax.Syntax end
include module type of struct include Liquid_syntax.Tokens end
Source
val pp_whitespace_control :
Ppx_deriving_runtime.Format.formatter ->
whitespace_control ->
Ppx_deriving_runtime.unitSource
type block_token = Liquid_syntax.Tokens.block_token = | StatementStart of whitespace_control| StatementEnd of whitespace_control| ExpressionStart of whitespace_control| ExpressionEnd of whitespace_control| LiquidStart of whitespace_control| RawText of Base.string
Source
val pp_block_token :
Ppx_deriving_runtime.Format.formatter ->
block_token ->
Ppx_deriving_runtime.unitSource
val pp_operator :
Ppx_deriving_runtime.Format.formatter ->
operator ->
Ppx_deriving_runtime.unitSource
type lex_value = Liquid_syntax.Tokens.lex_value = | LexBool of Base.bool| LexString of Base.string| LexNumber of Base.float| LexId of Base.string Base.list| LexRange of lex_value * lex_value| LexNil| LexBlank
Source
val pp_lex_value :
Ppx_deriving_runtime.Format.formatter ->
lex_value ->
Ppx_deriving_runtime.unitSource
val pp_lex_combiner :
Ppx_deriving_runtime.Format.formatter ->
lex_combiner ->
Ppx_deriving_runtime.unitSource
type lex_token = Liquid_syntax.Tokens.lex_token = | If| EndIf| Unless| EndUnless| Case| EndCase| LexFor| LexEndFor| Capture| EndCapture| Paginate| EndPaginate| TableRow| EndTableRow| Raw| EndRaw| ElseIf| Else| When| LexForm| LexStyle| LexEndForm| LexEndStyle| LexInclude| LexRender| LexLayout| LexSection| LexBreak| LexContinue| Cycle| In| By| LexWith| LexAs| Assign| Increment| Decrement| Pipe| Colon| Equals| Comma| LexNone| Space| Newline| Operator of operator| LexText of Base.string| LexCombiner of lex_combiner| LexValue of lex_value| LexExpression of lex_token Base.list| EOS
Source
val pp_lex_token :
Ppx_deriving_runtime.Format.formatter ->
lex_token ->
Ppx_deriving_runtime.unitSource
type value = Liquid_syntax.Syntax.value = | Bool of Base.bool| String of Base.string| Number of Base.float| Var of Base.string Base.list| List of value Base.list| Date of Liquid_syntax.Date.t| Object of liquid_object| Range of value * value| Nil
Source
type expression = Liquid_syntax.Syntax.expression = | Value of value| Func of Base.string * expression Base.list
Source
val pp_expression :
Ppx_deriving_runtime.Format.formatter ->
expression ->
Ppx_deriving_runtime.unitSource
val pp_for_params :
Ppx_deriving_runtime.Format.formatter ->
for_params ->
Ppx_deriving_runtime.unitSource
type ast = Liquid_syntax.Syntax.ast = | Capture of Base.string * ast| Block of ast Base.list| Test of condition * ast * ast Base.option| For of Base.string * value * for_params * ast * ast Base.option| Cycle of Base.string Base.option * Base.string Base.list| Expression of expression| Assignment of Base.string * expression| Text of Base.string| Break| Continue| Layout of Base.string Base.option| Include of Base.string| Section of Base.string| Render of Base.string * variable_context * ast Base.option| Paginate of id * Base.int * ast| Nothing
Source
type liquid_filter =
variable_context ->
value Base.list ->
(value, Base.string) Base.Result.t