libqasm
library for handling cQASM files
cqasm-v1-semantic-helper.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 namespace cqasm {
9 namespace v1 {
10 namespace semantic {
11 
12 // NOTE JvS: This forward declaration is needed in order to allow the value tree
13 // to link to Variable nodes in the semantic tree. It's possible to get rid of
14 // this kludge by merging the value (and type) trees into the semantic tree, as
15 // probably should have been done initially, but a lot of refactoring would
16 // result. Instead I'll just keep it in mind when designing cQASM 2.0; the
17 // current plan is that it would have its own codebase anyway, and refer back
18 // to this one based on the version header if need be.
19 class Variable;
20 
21 } // namespace semantic
22 } // namespace v1
23 } // namespace cqasm
Toplevel namespace with entry points for the new API.
Namespace for the "new" cQASM 1.x API.