Charles-P. Clermont
dff829ec72
Extract Parser#range_lookup out of Expression.parse
2026-01-26 16:52:17 -05:00
Charles-P. Clermont
8b04c52ab2
Extract Parser#variable_lookup out of Expression.parse
2026-01-26 16:52:17 -05:00
Charles-P. Clermont
e1e0129983
Extract Parser#number parse out of Expression.parse
2026-01-26 16:52:17 -05:00
Charles-P. Clermont
2a86852eb3
Extract Parser#string out of Expression.parse
2026-01-26 16:52:17 -05:00
Charles-P. Clermont
6cfcd6cac0
Rename Parser#argument -> argument_string
2026-01-26 16:52:17 -05:00
Charles-P. Clermont
6b78291449
Rename Parser#expression -> Parser#expression_string
2026-01-26 16:52:17 -05:00
Michael Go
04bd9dbe90
refactor Lexer to only take StringScanner
2025-01-07 14:32:46 -04:00
Michael Go
7c592c1c00
store StringScanner in ParseContext and reuse it through parsing
2025-01-07 14:32:45 -04:00
Mike Angell and GitHub
5302f40342
Rubocop fixes ( #1182 )
2019-10-07 17:06:47 +11:00
0d26f05bb8
Enabled frozen string literals ( #1154 )
...
* Enabled frozen string literals
* Update rubocop config
* Prefer string interpolation in simple cases
Co-Authored-By: Dylan Thacker-Smith <[email protected] >
2019-09-18 13:19:45 +10:00
Justin Li
b4ea483c4e
Separate ? and - into special tokens
2014-10-17 13:30:54 -04:00
Ken Dreyer and Florian Weingarten
ee4295c889
tests: switch to minitest
...
Ruby 1.9+ uses Minitest as the backend for Test::Unit. As of Minitest 5,
the shim has broken some compatibility with Test::Unit::TestCase in some
scenarios.
Adjusts the test suite to support Minitest 5's syntax.
Minitest versions 4 and below do not support the newer Minitest::Test
class that arrived in version 5. For that case, use the
MiniTest::Unit::TestCase class as a fallback
Conflicts:
test/integration/tags/for_tag_test.rb
test/test_helper.rb
2014-07-28 16:36:38 +00:00
Dylan Thacker-Smith
7e45155aa9
Seperate unit and integration tests.
...
This makes it easier to re-use the integration tests in a seperate gem that
optimizes parts of liquid with a native implementation.
2014-03-26 15:47:07 -04:00