ok/jj
1
0
Fork 0
forked from mirrors/jj

revset: make RevsetParser type private

It's unlikely that client codes and integration tests have to use the pest
API directly.
This commit is contained in:
Yuya Nishihara 2024-05-09 15:18:51 +09:00
parent d6613304c9
commit cfc18b0432

View file

@ -79,7 +79,7 @@ pub enum RevsetEvaluationError {
#[derive(Parser)] #[derive(Parser)]
#[grammar = "revset.pest"] #[grammar = "revset.pest"]
pub struct RevsetParser; struct RevsetParser;
const STRING_LITERAL_PARSER: StringLiteralParser<Rule> = StringLiteralParser { const STRING_LITERAL_PARSER: StringLiteralParser<Rule> = StringLiteralParser {
content_rule: Rule::string_content, content_rule: Rule::string_content,