libqasm
library for handling cQASM files
src
cqasm
include
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
cqasm
Toplevel namespace with entry points for the new API.
Definition:
cqasm-annotations.cpp:8
cqasm::v1
Namespace for the "new" cQASM 1.x API.
Definition:
cqasm-v1-analyzer.cpp:18
cqasm::v1::semantic::Variable
A variable.
Definition:
cqasm-v1-semantic-gen.hpp:2438
Generated by
1.8.13