Skip to main content

Module parse

Module parse 

Source
Expand description

Parsing layer for .http specs files.

  • spec parses the line-oriented outer grammar (setup directives, endpoint blocks, body schemas, etc.) into a crate::spec::Spec AST.
  • exec parses the Exec mini-language used inside Exec: directives into a sequence of crate::spec::ExecStage.

No execution happens here: this module only turns source text into AST.

Re-exports§

pub use spec::ParseResult;
pub use spec::parse;

Modules§

exec
Parser for the Exec mini-language (the value of an Exec: directive).
spec
Parser for the .http specs DSL.