quil_rs

Module program

Source

Modules§

Structs§

Enums§

Functions§

  • If parsing was successful but there is leftover input, returns a SyntaxError::Leftover containing the output.
  • Map the parsed output into another value.
  • If this result is Err(ProgramParsingError::Leftover), converts it to Ok(_) with the parsed output.

Type Aliases§