1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-30 10:48:59 +01:00
Commit Graph

41 Commits

Author SHA1 Message Date
Oliver Steele
803471c15f Render tree is distinct type from parse AST 2017-07-06 09:21:26 -04:00
Oliver Steele
c7d9af2fcc Start to separate parser and compiler 2017-07-06 08:07:53 -04:00
Oliver Steele
36929af0a6 Coverage 2017-07-05 23:25:03 -04:00
Oliver Steele
1da9d4072e Improve some internal names 2017-07-05 19:09:59 -04:00
Oliver Steele
2161bb6044 Add IsTemplateError 2017-07-05 14:24:15 -04:00
Oliver Steele
a434a750f5 Move generics -> evaluator 2017-07-05 11:35:07 -04:00
Oliver Steele
fab31d9e8b Implement include 2017-07-05 10:37:46 -04:00
Oliver Steele
d31fe04734 Move assign tag -> tags package 2017-07-04 11:45:24 -04:00
Oliver Steele
411a2f0708 Rename render.(Context,RenderContext) -> (NodeContext,Context) 2017-07-04 11:41:45 -04:00
Oliver Steele
9691dc203d Move expressions -> expression 2017-07-04 11:12:40 -04:00
Oliver Steele
405c5bf694 Rename Settings -> Config 2017-07-04 11:08:57 -04:00
Oliver Steele
6161e6df28 Move chunks -> render 2017-07-04 11:03:18 -04:00
Oliver Steele
05597307bd Render uses a switch instead of polymorphism 2017-07-04 10:25:29 -04:00
Oliver Steele
ba874de258 Implement drops 2017-07-03 12:00:43 -04:00
Oliver Steele
2e8f51ad06 Rename to match Liquid terminology
Add* Register*
ControlTag / StartTag -> Block
2017-07-02 13:31:34 -04:00
Oliver Steele
decd8dd610 for over a map iterates over its keys 2017-07-02 12:14:04 -04:00
Oliver Steele
8f148dca69 tavis uses makefile lint 2017-07-02 09:09:23 -04:00
Oliver Steele
f6c4299739 Simplify external tag interface 2017-07-01 10:36:47 -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
394036de6c Fix forloop.last with offset modifier 2017-06-29 13:59:37 -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
621992c6af If tag parses during parse stage 2017-06-28 22:22:07 -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
53a41f3df2 Implement loop modifiers 2017-06-28 16:18:46 -04:00
Oliver Steele
c5e7e6c277 Implement case (w/out else) 2017-06-28 16:18:46 -04:00
Oliver Steele
055e789d1d Implement capture tag 2017-06-28 13:47:49 -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
383db45707 Implement loop reversed 2017-06-27 15:10:44 -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
babfc3e527 Implement loop tag 2017-06-27 13:18:01 -04:00
Oliver Steele
db5a3afce4 Restore tag tests 2017-06-27 12:56:10 -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