Crate oq3_parser
source ·Expand description
Parser for OpenQASM 3
Re-exports§
pub use crate::syntax_kind::SyntaxKind;
Modules§
- Defines
SyntaxKind
– a fieldless enum of all possible syntactic constructs of the OpenQASM 3 language.
Macros§
Structs§
- Input for the parser – a sequence of tokens.
- Output of the parser – a DFS traversal of a concrete syntax tree.
Enums§
- GJL FIXME comments Parse the whole of the input as a given syntactic construct.
TopEntryPoint::parse
makes a guarantee that