Tobi Lutke
|
361d1d52b1
|
Fix rubocop offenses from 1.82 upgrade
|
2026-01-01 20:20:50 -05:00 |
|
Chris AtLee
|
550135c0b9
|
Raise SyntaxError on invalid UTF8 strings in lexer/tokenizer
|
2025-02-11 14:23:15 -05:00 |
|
Michael Go
|
7c9b77e8cf
|
remove StringScanner version check in Lexer and Tokenizer
|
2025-01-07 14:51:29 -04:00 |
|
Michael Go
|
7c592c1c00
|
store StringScanner in ParseContext and reuse it through parsing
|
2025-01-07 14:32:45 -04:00 |
|
Michael Go
|
3c16c27ee1
|
add StringScannerPool for thread safety
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
eff5c5de8e
|
code clean up
|
2025-01-07 14:32:07 -04:00 |
|
Michael Go
|
8ecb703d4d
|
use StringScanner to improve Expression Parsing and Tokenizer
|
2025-01-07 14:32:06 -04:00 |
|
Bahar Pourazar
|
0c49dd592f
|
bring back to_s.to_str
|
2024-12-17 17:37:00 +00:00 |
|
Bahar Pourazar
|
a0a4307e7d
|
Fix bug in tokenizer with nil value
|
2024-12-17 15:34:13 +00:00 |
|
Michael Go
|
6a0fe3f7e3
|
convert template source to string to ensure encoding validity
|
2024-01-10 16:50:31 -04:00 |
|
 Dylan Thacker-SmithandGitHub
|
1cdd1f0834
|
refactor: Advance tokenizer array offset instead of using Array#shift (#1653)
Array#shift would move all the remaining elements of the array, which
is slower for larger arrays.
|
2022-11-09 13:03:33 -05:00 |
|
 Dylan Thacker-SmithandGitHub
|
ca96ca0fef
|
Fix support for using a String subclass for the liquid source (#1421)
|
2021-03-29 16:22:05 -04:00 |
|
 Alessandro Diogo BrückheimerandMike Angell
|
e83b1e4159
|
Add ForceEqualSignAlignment to .rubocop.yml (#1190)
* Add ForceEqualSignAlignment to .rubocop.yml
* Revert ForceEqualSignAlignment cop
* Update method alignment
* Undo addition of whitespace to improve readability
* Fix missing alignment
|
2019-10-21 21:18:48 +10: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 |
|
Mike Angell
|
799da202df
|
Apply simple rubocop fixes
|
2019-08-31 21:58:33 +10:00 |
|
Justin Li
|
8d1cd41453
|
Add {% liquid %}, {% echo %}, and {% local %} tags
|
2019-04-01 20:08:38 -04:00 |
|
Florian Weingarten
|
d2f16d92d6
|
Fix a bunch of Ruby warnings
|
2016-03-30 20:42:30 +00:00 |
|
Dylan Thacker-Smith
|
cebf75b8d7
|
Implement line numbers without the Liquid::Token class.
|
2015-07-08 19:21:59 -04:00 |
|
Florian Weingarten
|
6ace095207
|
Avoid parallel assignments
|
2015-06-04 11:56:47 -04:00 |
|
Gaurav Chande
|
fc8e6c8d3a
|
Change Tokenizer test to fetch tokens instead of exposing ivar
|
2015-06-04 15:10:01 +00:00 |
|
Gaurav Chande
|
8b98f92c7f
|
Extract tokenize logic from Template to a RubyTokenizer
|
2015-06-04 04:39:30 +00:00 |
|