Struct oursh::program::posix::ast::Program [−][src]
Expand description
A program is the result of parsing a sequence of commands.
Tuple Fields
0: Vec<Command>
Trait Implementations
The syntax and semantics of a single POSIX command.
use std::io::Read; use oursh::program::Program as ProgramTrait; use oursh::program::posix::ast::Program; assert!(Program::parse(b"ls" as &[u8]).is_ok());
Auto Trait Implementations
impl RefUnwindSafe for Program
impl UnwindSafe for Program
Blanket Implementations
Mutably borrows from an owned value. Read more