Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from Winnow 0.4 to 0.5 #214

Merged
merged 89 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
c7fb609
refactor(parser): Consistently use 'i' in skip_till
epage Dec 19, 2024
ddd4a9e
refactor(parser): Clarify second input in skip_till
epage Dec 19, 2024
4042c35
refactor(parser): Consistently use 'i' in Comment::parse::content
epage Dec 19, 2024
bb404d5
refactor(parser): Clarify second input in Comment::parse::content
epage Dec 19, 2024
51085b3
refactor(parser): Rename ParseResult to InputParseResult
epage Aug 8, 2024
ad2593f
refactor(parser): Temporarily switch from parse_next to parse_peek
epage Jul 31, 2024
1c48c87
refactor(parser): Temporarilly add unpeeks
epage Jul 31, 2024
308e53a
refactor(parser): Upgrade to Winnow 0.5
epage Oct 25, 2024
c65b8f5
refactor(parser): Update signature for 'identifier'
epage Aug 9, 2024
fedad55
refactor(parser): Update signature for 'bool_lit'
epage Aug 9, 2024
a636968
refactor(parser): Update signature for 'num_lit_suffix'
epage Oct 28, 2024
5ed6c0a
refactor(parser): Update body for 'num_lit::int_with_base'
epage Oct 28, 2024
85e59ae
refactor(parser): Update signature for 'num_lit::float'
epage Oct 28, 2024
6462afe
refactor(parser): Update signature for 'num_lit'
epage Oct 28, 2024
4b01cb8
refactor(parser): Update signature for 'str_lit_without_prefix'
epage Oct 30, 2024
5828066
refactor(parser): Update signature for 'str_lit'
epage Oct 30, 2024
248e1d1
refactor(parser): Update signature for 'char_lit'
epage Oct 31, 2024
7efe4cc
refactor(parser): Update signature for 'Char::parse'
epage Oct 31, 2024
c40216c
refactor(parser): Update signature for 'path_or_identifier'
epage Oct 31, 2024
39d8705
refactor(parser): Update signature for 'filter'
epage Aug 9, 2024
b73abe8
refactor(parser): Update signature for 'State::tag_block_start'
epage Aug 9, 2024
b596bab
refactor(parser): Update signature for 'State::tag_block_end'
epage Aug 9, 2024
e758480
refactor(parser): Update signature for 'State::tag_comment_start'
epage Nov 4, 2024
83c124f
refactor(parser): Update signature for 'State::tag_comment_end'
epage Nov 4, 2024
6d3253c
refactor(parser): Update signature for 'State::tag_expr_start'
epage Nov 4, 2024
e0e1e9b
refactor(parser): Update signature for 'State::tag_expr_end'
epage Nov 4, 2024
c28094e
refactor(parser): Update signature for 'State::nest'
epage Nov 4, 2024
91c8ff9
refactor(parser): Update signature for 'Level::nest'
epage Nov 5, 2024
2805de5
refactor(parser): Update signature for 'skip_ws0'
epage Nov 14, 2024
217dbe4
refactor(parser): Update signature for 'skip_ws1'
epage Nov 14, 2024
3b37acc
refactor(parser): Update signature for 'separated_digits' closure
epage Dec 19, 2024
7a8b060
refactor(parser): Update signature for 'skip_till' closure
epage Dec 19, 2024
b93303c
refactor(parser): Update signature for 'Target::lit'
epage Nov 6, 2024
b5d7288
refactor(parser): Update signature for 'Target::unnamed'
epage Nov 6, 2024
fe2e559
refactor(parser): Update signature for 'Target::named'
epage Nov 6, 2024
e1e62e6
refactor(parser): Update signature for 'Target::rest'
epage Nov 6, 2024
4e5139a
refactor(parser): Update signature for 'collect_targets'
epage Nov 7, 2024
5b61e3b
refactor(parser): Update signature for 'Target::parse'
epage Nov 6, 2024
e128934
refactor(parser): Update signature for 'Target::parse_one'
epage Nov 7, 2024
c00bd7f
refactor(parser): Update signature for 'Suffix::try'
epage Nov 9, 2024
a8bb714
refactor(parser): Update signature for 'Suffix::call'
epage Nov 9, 2024
531cffe
refactor(parser): Update signature for 'Suffix::index'
epage Nov 9, 2024
bfe098f
refactor(parser): Update signature for 'Suffix::attr'
epage Nov 9, 2024
afb0c1b
refactor(parser): Update signature for 'Suffix::macro'
epage Nov 11, 2024
7680b0c
refactor(parser): Update signature for 'token_bitand'
epage Nov 12, 2024
1269079
refactor(parser): Update signature for 'token_xor'
epage Nov 12, 2024
4ae1f06
refactor(parser): Update signature for 'Expr::char'
epage Nov 12, 2024
1a47c55
refactor(parser): Update signature for 'Expr::num'
epage Nov 12, 2024
c94ff5d
refactor(parser): Update signature for 'Expr::str'
epage Nov 12, 2024
7065d96
refactor(parser): Update signature for 'Expr::path_var_bool'
epage Nov 12, 2024
823de7b
refactor(parser): Update signature for 'Expr::array'
epage Nov 12, 2024
35c5d66
refactor(parser): Update signature for 'Expr::group'
epage Nov 12, 2024
3a6dacb
refactor(parser): Update signature for 'Expr::single'
epage Nov 15, 2024
f170ac7
refactor(parser): Update signature for 'Expr::prefix'
epage Nov 15, 2024
b92877f
refactor(parser): Update signature for 'Expr::filtered'
epage Nov 22, 2024
ac5e718
refactor(parser): Update signature for 'Expr::is_as'
epage Nov 25, 2024
73b3b0e
refactor(parser): Update signature for 'Expr::concat'
epage Nov 25, 2024
c837cf2
refactor(parser): Update signature for 'expr_prec_layer'
epage Nov 25, 2024
231b6a0
refactor(parser): Update signature for 'Suffix::parse'
epage Nov 25, 2024
d10e9d6
refactor(parser): Update signature for 'Expr::parse'
epage Nov 25, 2024
5786d0f
refactor(parser): Update signature for 'Expr::named_argument'
epage Nov 25, 2024
711bda9
refactor(parser): Update signature for 'Expr::arguments'
epage Nov 25, 2024
7d791ea
refactor(parser): Update signature for 'Expr::arguments' closure
epage Dec 19, 2024
dc7d257
refactor(parser): Update signature for 'Comment::parse::tag
epage Dec 19, 2024
25630dd
refactor(parser): Update signature for 'Comment::parse::content
epage Dec 19, 2024
dec33b8
refactor(parser): Update signature for 'Comment::parse'
epage Dec 19, 2024
2efe0b9
refactor(parser): Update signature for 'Extends::parse'
epage Dec 19, 2024
26f2c33
refactor(parser): Update signature for 'Include::parse'
epage Dec 19, 2024
e54ae50
refactor(parser): Update signature for 'Import::parse'
epage Dec 19, 2024
c3d65c8
refactor(parser): Update signature for 'Whitespace::parse'
epage Dec 19, 2024
431c8a0
refactor(parser): Update signature for 'Lit::parse'
epage Dec 19, 2024
00fa4aa
refactor(parser): Update signature for 'Node::expr'
epage Dec 19, 2024
335ae46
refactor(parser): Update signature for 'Node::many'
epage Dec 19, 2024
66827db
refactor(parser): Update signature for 'Node::parse'
epage Dec 19, 2024
6c8b33d
refactor(parser): Update signature for 'Node::parse_template'
epage Dec 19, 2024
7e7fdd9
refactor(parser): Update signature for 'cut_node' closure
epage Dec 20, 2024
59e11d7
refactor(parser): Avoid 'parse_peek' in 'cut_node'
epage Dec 20, 2024
4c0be60
refactor(parser): Update signature for 'unexpected_raw_tag'
epage Dec 20, 2024
0233686
refactor(parser): Update signature for 'unexpected_tag'
epage Dec 20, 2024
683646e
refactor(parser): Update signature for 'check_end_name'
epage Dec 20, 2024
950c389
refactor(parser): Update signature for 'CondTest::parse_cond'
epage Dec 20, 2024
193f8bf
refactor(parser): Update signature for 'check_block_start'
epage Dec 20, 2024
4a1a6d5
refactor(parser): Update signature for 'Loop::parse::content'
epage Dec 20, 2024
376f17c
refactor(parser): Update signature for 'Macro::parse::parameters'
epage Dec 20, 2024
1867026
refactor(parser): Update signature for 'Loop::parse::else_block'
epage Dec 20, 2024
b5069a6
refactor(parser): Update signature for 'Loop::parse::body_and_end'
epage Dec 20, 2024
7e2d4cb
refactor(parser): Reuse built-in empty parser
epage Dec 20, 2024
6772f61
refactor(parser): Update signature for remaining '*::parse'
epage Dec 20, 2024
341ce9a
refactor(parser): Resolve remaining deprecations
epage Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rinja_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ harness = false
[dependencies]
memchr = "2"
serde = { version = "1.0", optional = true, features = ["derive"] }
winnow = "0.4"
winnow = "0.5"

[dev-dependencies]
criterion = "0.5"
Expand Down
Loading
Loading