libqasm
library for handling cQASM files
Classes | Namespaces
cqasm-v1-analyzer.hpp File Reference

This file contains the Analyzer class and support classes, used to manage semantic analysis. More...

Go to the source code of this file.

Classes

class  cqasm::v1::analyzer::AnalysisFailed
 Exception thrown by AnalysisResult::unwrap() when the cQASM file fails to parse. More...
 
class  cqasm::v1::analyzer::AnalysisResult
 Analysis result class. More...
 
class  cqasm::v1::analyzer::Analyzer
 Main class used for analyzing cQASM files. More...
 

Namespaces

 cqasm
 Toplevel namespace with entry points for the new API.
 
 cqasm::v1
 Namespace for the "new" cQASM 1.x API.
 
 cqasm::v1::analyzer
 Namespace for the Analyzer class and support classes.
 

Detailed Description

This file contains the Analyzer class and support classes, used to manage semantic analysis.

While the Analyzer class itself only manages the semantic analysis phase, it also has some convenience methods that drive lexical analysis and parsing in addition.

Definition in file cqasm-v1-analyzer.hpp.

#include <cstdio>
#include <functional>
#include "cqasm-v1-ast.hpp"
#include "cqasm-v1-semantic.hpp"
#include "cqasm-v1-resolver.hpp"
#include "cqasm-v1-parse-helper.hpp"
Include dependency graph for cqasm-v1-analyzer.hpp:
This graph shows which files directly or indirectly include this file: