Skip to main content

shuck_parser/
lib.rs

1#![warn(missing_docs)]
2
3//! Shell lexer and parser APIs for the Shuck workspace.
4//!
5//! `shuck-parser` turns shell source text into `shuck-ast` syntax trees and also exposes a
6//! source-backed lexer for lower-level tooling.
7
8#[allow(missing_docs)]
9mod error;
10#[allow(missing_docs)]
11/// Parsing entrypoints, lexer types, and shell-profile configuration.
12pub mod parser;
13
14/// Error types returned by parser operations.
15pub use error::{Error, Result};
16/// Shell dialect, profile, and option types exposed by the parser.
17pub use parser::{OptionValue, ShellDialect, ShellProfile, ZshEmulationMode, ZshOptionState};