1
0
mirror of https://github.com/danog/liquid.git synced 2025-01-22 20:21:15 +01:00

45 Commits

Author SHA1 Message Date
Oliver Steele
a7cbb9b01b Replace GetVariableMap -> UpdateBindings, RenderFile 2017-06-30 21:05:48 -04:00
Oliver Steele
7c48138dad Add RenderContext.ParseTagArgs 2017-06-30 17:33:36 -04:00
Oliver Steele
af95c44a25 simplify 2017-06-30 16:51:39 -04:00
Oliver Steele
e6f8eacb37 Tags are an engine configuration 2017-06-30 16:46:17 -04:00
Oliver Steele
2e9903ffe6 Filters are an engine configuration 2017-06-30 16:13:18 -04:00
Oliver Steele
41da3f9d05 Tags are called within a RenderContext 2017-06-30 14:51:21 -04:00
Oliver Steele
e2bb7c66bb Fix the raw tag 2017-06-30 10:09:56 -04:00
Oliver Steele
08fcc4eafc Record source line number 2017-06-30 10:09:56 -04:00
Oliver Steele
8f7bcaedae Add engine.DefineControlTag; currently does nothing 2017-06-30 08:04:31 -04:00
Oliver Steele
d924e0b7eb Match print object to observed 2017-06-29 13:41:26 -04:00
Oliver Steele
09d36504b4 Lint 2017-06-29 13:14:47 -04:00
Oliver Steele
f15de87195 Docs 2017-06-29 13:08:25 -04:00
Oliver Steele
fb26bb3f88 Lint; remove dead code 2017-06-29 12:26:04 -04:00
Oliver Steele
a1784cd5d2 Implement break, continue 2017-06-29 12:20:16 -04:00
Oliver Steele
c4ff3d2083 Rationalize some filenames 2017-06-29 07:54:31 -04:00
Oliver Steele
5dddabeb78 Parse control tag forms at parse time 2017-06-28 21:45:24 -04:00
Oliver Steele
61663ab11a Control tag parsers can return an error 2017-06-28 20:59:23 -04:00
Oliver Steele
e9c35a35d0 Implement forloop variables 2017-06-28 20:49:38 -04:00
Oliver Steele
a93848a95e Filters support multiple argument, including expressions 2017-06-28 11:24:24 -04:00
Oliver Steele
f8b55032f4 Chunk regex wasn't sufficiently non-greedy 2017-06-27 22:34:46 -04:00
Oliver Steele
43bedef367 More generic.Less; tests 2017-06-27 21:30:47 -04:00
Oliver Steele
d4c895d635 Parse object expressions during parse stage; report error source 2017-06-27 20:23:09 -04:00
Oliver Steele
9b8da4f4d2 Unconfuse unless/endunless 2017-06-27 17:43:35 -04:00
Oliver Steele
c09652bed8 Implement raw tag 2017-06-27 17:40:15 -04:00
Oliver Steele
54b9f137ad Add reverse filter; improve generics 2017-06-27 17:29:50 -04:00
Oliver Steele
eb7a18eec3 Implement comment tag 2017-06-27 13:47:14 -04:00
Oliver Steele
c4bd99bc2c Lint 2017-06-27 13:36:38 -04:00
Oliver Steele
fc6d96ed40 Chunk scanner test cases 2017-06-27 13:18:11 -04:00
Oliver Steele
babfc3e527 Implement loop tag 2017-06-27 13:18:01 -04:00
Oliver Steele
0c7a8d2569 Un-export ControlTagDefinition; create builder 2017-06-27 12:23:07 -04:00
Oliver Steele
4189f03261 Move filters to own package 2017-06-27 12:06:24 -04:00
Oliver Steele
83503a149f Move tags to own package 2017-06-27 11:39:32 -04:00
Oliver Steele
089a0c8125 Embed the Chunk in the AST nodes 2017-06-27 11:19:12 -04:00
Oliver Steele
20e4df31d3 Control tags actions are table-driven 2017-06-27 11:12:58 -04:00
Oliver Steele
612f456745 Implement sort: key 2017-06-27 10:15:31 -04:00
Oliver Steele
87708a0221 Generics 2017-06-27 09:17:57 -04:00
Oliver Steele
9a807d0922 Undefined tags, filters are errors not panics 2017-06-27 08:46:06 -04:00
Oliver Steele
e21d2a736d Add public DefineTag 2017-06-27 07:43:42 -04:00
Oliver Steele
70aa70d044 Filters can have (single) parameters 2017-06-26 21:32:08 -04:00
Oliver Steele
30211ac8d1 Implement some filters 2017-06-26 18:55:12 -04:00
Oliver Steele
cd15950b8d Implement variable assignment 2017-06-26 15:36:05 -04:00
Oliver Steele
803fbbcd61 Docs 2017-06-26 12:41:41 -04:00
Oliver Steele
514559e442 Create top-level interface to liquid package 2017-06-26 10:15:01 -04:00
Oliver Steele
b367592cd3 Move chunk marshalling to separate file 2017-06-26 09:43:09 -04:00
Oliver Steele
2e61304676 Move chunks to sub-package 2017-06-26 09:36:52 -04:00