module Liquid
Included Modules
Defined in:
liquid/any.crliquid/blank.cr
liquid/blocks.cr
liquid/codegen_visitor.cr
liquid/context.cr
liquid/debug_visitor.cr
liquid/drop.cr
liquid/embed.cr
liquid/exceptions.cr
liquid/expression.cr
liquid/expression_compiler.cr
liquid/expression_opcode.cr
liquid/for_loop.cr
liquid/json.cr
liquid/match_visitor.cr
liquid/parser.cr
liquid/regex.cr
liquid/render_visitor.cr
liquid/strip_visitor.cr
liquid/template.cr
liquid/token.cr
liquid/tokenizer.cr
liquid/version.cr
liquid/visitor.cr
Constant Summary
-
ARRAY =
/\[(#{SCALAR}(?:\s*,\s*#{SCALAR})*)\]/
-
BOOL =
/(?:false)|(?:true)/
-
DQSTRING =
/"([^"]|\\")*"/
-
FLOAT =
/-*[0-9]+\.[0-9]+/
-
INT =
/(?:0|(?:-*[1-9][0-9]*))/
-
SCALAR =
/(?:#{STRING})|(?:#{FLOAT})|(?:#{INT})|(?:#{BOOL})/
-
SQSTRING =
/'([^']|\\')*'/
-
STRING =
/(?:#{DQSTRING})|(?:#{SQSTRING})/
-
TYPE =
/(?:#{SCALAR})|(?:#{ARRAY})/
-
TYPE_OR_VAR =
/(?:#{TYPE})|(?:#{VAR})/
-
VAR =
/([-!]*(?<varbasename>[A-Za-z_]\w*)(?:(?<property>\.[A-Za-z_]\w*)|(?:\[(?<index>(?:#{STRING})|(?:#{INT})|(?1))\]))*\??)/
-
VARIABLE_SIGNATURE =
/\(?[\w\-\.\[\]]\)?/
-
VERSION =
"0.4.1"