rusty_lr_parser/
lib.rs

1//! Macro line parser for Rusty LR.
2//!
3//! This crate is private and not intended to be used directly.
4//! Please use the [`rusty_lr`](https://crates.io/crates/rusty_lr) crate instead.
5
6pub mod emit;
7pub mod error;
8pub mod grammar;
9pub(crate) mod nonterminal_info;
10pub(crate) mod parser;
11pub mod partition;
12pub(crate) mod pattern;
13pub mod rangeresolver;
14pub mod terminal_info;
15pub(crate) mod terminalset;
16pub(crate) mod token;
17pub mod utils;
18
19/// This, `rusty_lr_parser` is designed to generate a code, that will be relied on `rusty_lr`.
20///
21/// Gets the version of the rusty_lr_core crate that current crate is targeting.
22/// If the version is not matched, there will be a compile-time error.
23pub fn target_rusty_lr_version() -> (usize, usize, usize) {
24    (3, 34, 0)
25}