Separate internal and external command definitions.

This commit is contained in:
Andrés N. Robalino
2019-12-15 01:24:31 -05:00
parent 4b9ef5a9d0
commit 87cc6d6f01
7 changed files with 107 additions and 95 deletions

View File

@ -3,8 +3,9 @@ pub mod hir;
pub mod parse;
pub mod parse_command;
pub use crate::commands::classified::{ClassifiedCommand, ClassifiedPipeline, InternalCommand};
pub use crate::commands::ExternalCommand;
pub use crate::commands::classified::{
external::ExternalCommand, internal::InternalCommand, ClassifiedCommand, ClassifiedPipeline,
};
pub use crate::hir::syntax_shape::flat_shape::FlatShape;
pub use crate::hir::syntax_shape::{
expand_syntax, ExpandContext, ExpandSyntax, PipelineShape, SignatureRegistry,