package liquid_syntax

  1. Overview
  2. Docs
type whitespace_control =
  1. | Trim
  2. | White
type block_token =
  1. | StatementStart of whitespace_control
  2. | StatementEnd of whitespace_control
  3. | ExpressionStart of whitespace_control
  4. | ExpressionEnd of whitespace_control
  5. | LiquidStart
  6. | RawText of Base.string
type operator =
  1. | Eq
  2. | Gte
  3. | Gt
  4. | Lte
  5. | Lt
  6. | Ne
  7. | Contains
type lex_value =
  1. | LexBool of Base.bool
  2. | LexString of Base.string
  3. | LexNumber of Base.float
  4. | LexId of Base.string Base.list
  5. | LexRange of Base.int * Base.int
  6. | LexNil
  7. | LexBlank
type lex_combiner =
  1. | LexAnd
  2. | LexOr
type lex_token =
  1. | If
  2. | EndIf
  3. | Unless
  4. | EndUnless
  5. | Case
  6. | EndCase
  7. | LexFor
  8. | LexEndFor
  9. | Capture
  10. | EndCapture
  11. | Paginate
  12. | EndPaginate
  13. | TableRow
  14. | EndTableRow
  15. | Raw
  16. | EndRaw
  17. | ElseIf
  18. | Else
  19. | When
  20. | LexForm
  21. | LexStyle
  22. | LexEndForm
  23. | LexEndStyle
  24. | LexInclude
  25. | LexRender
  26. | LexLayout
  27. | LexSection
  28. | LexBreak
  29. | LexContinue
  30. | Cycle
  31. | In
  32. | By
  33. | LexWith
  34. | LexAs
  35. | Assign
  36. | Increment
  37. | Decrement
  38. | Pipe
  39. | Colon
  40. | Equals
  41. | Comma
  42. | LexNone
  43. | Space
  44. | Newline
  45. | Operator of operator
  46. | LexText of Base.string
  47. | LexCombiner of lex_combiner
  48. | LexValue of lex_value
  49. | LexExpression of lex_token Base.list
  50. | EOS
OCaml

Innovation. Community. Security.