Tom Alexander
|
03ff75b2de
|
Fix number comparison logic.
|
2020-06-13 15:31:52 -04:00 |
|
Tom Alexander
|
4d28120732
|
I have broken the comparison function.
|
2020-06-13 14:55:27 -04:00 |
|
Tom Alexander
|
5b656a44ad
|
For partial_cmp, convert OwnedLiterals into serde_json values.
|
2020-06-13 14:19:03 -04:00 |
|
Tom Alexander
|
a378d6e6f3
|
Add comparisons for json floats but not yet between OwnedLiterals and json.
|
2020-06-13 13:47:43 -04:00 |
|
Tom Alexander
|
978bbe6eb3
|
Implemented float literals for OwnedLiterals, not yet for serde_json.
|
2020-06-13 13:37:26 -04:00 |
|
Tom Alexander
|
8daa746da6
|
Initial structure for the perform_math_operation function.
|
2020-06-13 13:16:25 -04:00 |
|
Tom Alexander
|
6877e3d393
|
Add parser support for the math helper.
|
2020-06-13 12:03:55 -04:00 |
|
Tom Alexander
|
c5db1cea8f
|
Add a test case for the math helper and add else blocks to the select test.
|
2020-06-13 11:45:45 -04:00 |
|
Tom Alexander
|
c06cc61a07
|
Merge branch 'helper_select' into render
|
2020-06-07 19:11:37 -04:00 |
|
Tom Alexander
|
a937a12db6
|
Cleanup.
|
2020-06-07 19:11:21 -04:00 |
|
Tom Alexander
|
88887bff0f
|
Implemented early termination.
|
2020-06-07 19:10:25 -04:00 |
|
Tom Alexander
|
0fac063c8d
|
Implemented none and any, but I need to implement early termination.
|
2020-06-07 18:52:09 -04:00 |
|
Tom Alexander
|
f1b868ce33
|
I think I have the code for the select tag finished, but I haven't yet implemented any or none.
|
2020-06-07 18:44:27 -04:00 |
|
Tom Alexander
|
576d94780a
|
Implement a SelectContext for passing the select parameters and whether or not any comparison passed down exactly 1 level in the renderer.
|
2020-06-07 18:33:34 -04:00 |
|
Tom Alexander
|
b0b857147d
|
Implemented code to find out if any comparison checks inside a select are true.
|
2020-06-07 18:27:11 -04:00 |
|
Tom Alexander
|
ed38ce6a38
|
Unified the renderers for all the comparison helpers by moving their implementation to perform_comparison_check.
|
2020-06-07 18:17:28 -04:00 |
|
Tom Alexander
|
85d36fc516
|
Implemented perform_comparison_check to separate the comparison logic from the render code so that it can be used pre-rendering by the select helper.
|
2020-06-07 18:11:14 -04:00 |
|
Tom Alexander
|
f2740987ec
|
Add a parent to ParametersContext so we can chain parameters contexts for use with the select helper.
|
2020-06-07 17:56:51 -04:00 |
|
Tom Alexander
|
a61807d84c
|
Add parser support for select/any/none.
|
2020-06-07 17:06:14 -04:00 |
|
Tom Alexander
|
84c07b262c
|
Add a test for the select helper.
|
2020-06-07 16:50:11 -04:00 |
|
Tom Alexander
|
a749f91e8e
|
Ported over the comparison helpers to using the new tap function.
|
2020-06-07 16:49:15 -04:00 |
|
Tom Alexander
|
b35874f19e
|
Merge branch 'helper_sep' into render
|
2020-06-07 15:19:29 -04:00 |
|
Tom Alexander
|
78dad3273a
|
Remove $len from first helper since its not needed.
|
2020-06-07 15:18:03 -04:00 |
|
Tom Alexander
|
417466d17d
|
Implement the first and last helpers.
|
2020-06-07 15:16:39 -04:00 |
|
Tom Alexander
|
fdecdcb53b
|
Implemented the sep helper.
|
2020-06-07 15:09:37 -04:00 |
|
Tom Alexander
|
3fb91566bb
|
Implement get and tap functions.
|
2020-06-07 14:45:32 -04:00 |
|
Tom Alexander
|
3ef2facc92
|
Expanding the sep helpers test.
|
2020-06-07 14:07:32 -04:00 |
|
Tom Alexander
|
bb658284e6
|
Add a test for the sep helper.
|
2020-06-07 14:01:58 -04:00 |
|
Tom Alexander
|
d06fbea288
|
Remove unused code and clean up warnings.
|
2020-06-07 13:27:57 -04:00 |
|
Tom Alexander
|
4ab311c178
|
Merge branch 'into_context_element' into render
|
2020-06-07 01:48:44 -04:00 |
|
Tom Alexander
|
9b69ba7b09
|
Merge branch 'into_context_element_breadcrumb_tree' into into_context_element
|
2020-06-07 01:48:29 -04:00 |
|
Tom Alexander
|
e00f043c19
|
Merge branch 'there_and_back_again' into into_context_element_breadcrumb_tree
|
2020-06-07 01:48:05 -04:00 |
|
Tom Alexander
|
4e1259f1c7
|
All tests working.
|
2020-06-07 01:35:58 -04:00 |
|
Tom Alexander
|
865cba6f4e
|
Add a test proving that renamed variables are still equal, so its not just based on path.
|
2020-06-07 01:15:45 -04:00 |
|
Tom Alexander
|
4dee230780
|
Add some test cases for comparing equality on reference parameters.
|
2020-06-07 01:11:40 -04:00 |
|
Tom Alexander
|
b1a85165b0
|
All tests passing!
|
2020-06-07 01:04:00 -04:00 |
|
Tom Alexander
|
4789a7d931
|
Fix the same issue in the renderer.
|
2020-06-07 00:37:47 -04:00 |
|
Tom Alexander
|
09d015346c
|
Fixed a bug where I was failing to filter out pseudo elements during walking.
|
2020-06-07 00:29:51 -04:00 |
|
Tom Alexander
|
669a698575
|
Re-enable the ContextElement implementation for serde_json
|
2020-06-07 00:17:55 -04:00 |
|
Tom Alexander
|
422479bcf2
|
port over the remaining helpers.
|
2020-06-07 00:12:01 -04:00 |
|
Tom Alexander
|
8cbb31251c
|
port over the equals/not equals helpers.
|
2020-06-07 00:03:51 -04:00 |
|
Tom Alexander
|
c8de395038
|
Inline partials and blocks worked as-is.
|
2020-06-06 23:18:28 -04:00 |
|
Tom Alexander
|
250d428464
|
Updated Partial for the new architecture.
|
2020-06-06 23:17:50 -04:00 |
|
Tom Alexander
|
b396765488
|
Updated Exists/NotExists for the new architecture.
|
2020-06-06 23:15:12 -04:00 |
|
Tom Alexander
|
e28ebaf26a
|
Update IterationContext to be an IntoContextElement and finish implementing section.
|
2020-06-06 23:08:21 -04:00 |
|
Tom Alexander
|
00699b84ba
|
Finished converting back to Vec.
|
2020-06-06 22:45:58 -04:00 |
|
Tom Alexander
|
b0efe50410
|
Fixed new_breadcrumbs_section for the Vec based breadcrumbs.
|
2020-06-06 22:37:29 -04:00 |
|
Tom Alexander
|
256dcd03c5
|
Fixed tree_walking for the new breadcrumbs.
|
2020-06-06 22:29:39 -04:00 |
|
Tom Alexander
|
71592a9a32
|
Switching back to a Vec because inserting multiple elements into the linked list structure while maintaining ownership of each node proved to be difficult.
|
2020-06-06 22:24:27 -04:00 |
|
Tom Alexander
|
78bffb5f04
|
I think I need to switch back to a vec.
But with all I've built with IntoContextElement and BreadcrumbTreeElement I think the Vec will end up working in the end.
|
2020-06-06 21:46:02 -04:00 |
|