Dylan Thacker-Smith
|
46fd63da5f
|
Fix strict parsing of find variable with a name expression
|
2020-10-19 12:17:25 -04:00 |
|
Dylan Thacker-Smith
|
420a1c79e1
|
Refactor variable lookup strict parsing to reduce coupling on dot lookup
|
2020-10-19 12:10:32 -04:00 |
|
Dylan Thacker-Smith
|
6d39050e1e
|
Use a case statement in Liquid::Parser#expression
|
2020-10-19 12:10:11 -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 |
|
 Ashwin MaroliandGitHub
|
2c42447659
|
Rename constant to SINGLE_TOKEN_EXPRESSION_TYPES
|
2019-05-17 23:30:24 +05:30 |
|
Ashwin Maroli
|
9ef6f9b642
|
Freeze mutable object assigned to constant
|
2019-04-29 23:50:49 +05:30 |
|
Ashwin Maroli
|
4684478e94
|
Use a private constant to stash token-types
|
2019-04-29 23:45:45 +05:30 |
|
Florian Weingarten
|
4d6dec9b5a
|
Fix chained access to multi-dimensional hash
|
2015-07-17 10:10:00 -04:00 |
|
Justin Li
|
a07e382617
|
Use a single token for identifiers
|
2014-10-29 11:28:41 -04:00 |
|
Justin Li
|
de16db9b72
|
Don't allow - to end a variable name
|
2014-10-17 13:38:07 -04:00 |
|
Justin Li
|
b4ea483c4e
|
Separate ? and - into special tokens
|
2014-10-17 13:30:54 -04:00 |
|
Florian Weingarten
|
0a7de51e2b
|
Revert some freezes on non-literals
|
2014-01-27 14:56:07 -05:00 |
|
Florian Weingarten
|
43ac8d560b
|
Freeze all the things
|
2014-01-07 12:35:16 -05:00 |
|
Tristan Hume
|
7c5b3e0c3b
|
Fix bad range parsing.
|
2013-09-04 18:13:31 -04:00 |
|
Tristan Hume
|
86ba2f4174
|
Fix error message 1.8 compatibility
|
2013-08-22 13:23:44 -04:00 |
|
Tristan Hume
|
324d26d405
|
Consistent lack of periods in syntax errors.
|
2013-08-19 15:20:39 -04:00 |
|
Tristan Hume
|
6cde98319f
|
More little fixes and changed default benchmark
|
2013-08-02 15:21:15 -04:00 |
|
Tristan Hume
|
15b53b77d6
|
Make stuff nicer
|
2013-08-02 15:17:17 -04:00 |
|
Tristan Hume
|
8ca00982b6
|
Fixed ranges and added for loop parser
|
2013-07-29 14:11:47 -04:00 |
|
Tristan Hume
|
525e1ff195
|
Add range support
|
2013-07-29 13:25:48 -04:00 |
|
Tristan Hume
|
bc76c0daaf
|
Collapse float and int into 'number'
|
2013-07-29 11:04:46 -04:00 |
|
Harry Brundage
|
bacacf2fd0
|
Remove the Token class from the lexer in favour of less smart but faster arrays
|
2013-07-26 15:14:01 -04:00 |
|
Tristan Hume
|
1b43bf5686
|
Add parser tests
|
2013-07-26 13:09:36 -04:00 |
|
Tristan Hume
|
673826630c
|
Unfinished if statement parser.
|
2013-07-26 09:32:08 -04:00 |
|
Tristan Hume
|
4da7b36139
|
New variable parser!
|
2013-07-25 11:38:57 -04:00 |
|
Tristan Hume
|
f43e973e67
|
Basic expression parsing
|
2013-07-24 16:36:14 -04:00 |
|
Tristan Hume
|
76272a1afa
|
Bring back the lexer
|
2013-07-24 14:40:29 -04:00 |
|
Tristan Hume
|
61a6deb43b
|
Descriptive comment for lexer
|
2013-07-24 12:00:51 -04:00 |
|
Tristan Hume
|
ee14775f83
|
Replace hand-coded lexer with faster hacky lexer.
|
2013-07-24 11:41:47 -04:00 |
|
Tristan Hume
|
2332d86156
|
Slow lexer and parser scaffold.
|
2013-07-24 11:35:00 -04:00 |
|