shuck-parser 0.0.17

A fast, safe bash parser library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![warn(missing_docs)]

//! Shell lexer and parser APIs for the Shuck workspace.
//!
//! `shuck-parser` turns shell source text into `shuck-ast` syntax trees and also exposes a
//! source-backed lexer for lower-level tooling.

#[allow(missing_docs)]
mod error;
#[allow(missing_docs)]
/// Parsing entrypoints, lexer types, and shell-profile configuration.
pub mod parser;

/// Error types returned by parser operations.
pub use error::{Error, Result};
/// Shell dialect, profile, and option types exposed by the parser.
pub use parser::{OptionValue, ShellDialect, ShellProfile, ZshEmulationMode, ZshOptionState};