OpenQASM 3.0 Abstract Syntax Tree Node Definitions
This module defines all the AST node classes that represent the parsed structure
of OpenQASM 3.0 programs. Each class corresponds to a specific language construct
and contains the necessary information to represent that construct in memory.
The AST provides a hierarchical representation where:
AstNode: Base class for all nodes
Statement: Executable instructions (declarations, assignments, control flow)
OpenQASM 3.0 Abstract Syntax Tree Node Definitions
This module defines all the AST node classes that represent the parsed structure of OpenQASM 3.0 programs. Each class corresponds to a specific language construct and contains the necessary information to represent that construct in memory.
The AST provides a hierarchical representation where:
Key node categories:
Example: Building a quantum declaration
Example: Creating expressions