Crate oq3_parser

Source
Expand description

Parser for OpenQASM 3

Re-exports§

pub use crate::syntax_kind::SyntaxKind;

Modules§

syntax_kind
Defines SyntaxKind – a fieldless enum of all possible syntactic constructs of the OpenQASM 3 language.

Macros§

T

Structs§

Input
Input for the parser – a sequence of tokens.
LexedStr
Output
Output of the parser – a DFS traversal of a concrete syntax tree.

Enums§

Step
StrStep
TopEntryPoint
GJL FIXME comments Parse the whole of the input as a given syntactic construct. TopEntryPoint::parse makes a guarantee that