26 tree::One<semantic::Program>
analyze(
27 const std::string &filename,
28 const std::string &api_version =
"1.0" 36 tree::One<semantic::Program>
analyze(
38 const std::string &filename =
"<unknown>",
39 const std::string &api_version =
"1.0" 48 const std::string &data,
49 const std::string &filename =
"<unknown>",
50 const std::string &api_version =
"1.0" 58 const std::string &api_version =
"1.0" tree::One< semantic::Program > analyze_string(const std::string &data, const std::string &filename, const std::string &api_version)
Parses and analyzes the given string with the default analyzer, dumping error messages to stderr and ...
analyzer::Analyzer default_analyzer(const std::string &api_version)
Constructs an Analyzer object with the defaults for cQASM 1.0 already loaded into it...
This file contains the Analyzer class and support classes, used to manage semantic analysis...
Toplevel namespace with entry points for the new API.
tree::One< semantic::Program > analyze(const std::string &filename, const std::string &api_version)
Parses and analyzes the given file with the default analyzer, dumping error messages to stderr and th...
Contains helper classes and objects for the lexer and parser generated by flex/bison, as well as the entry points for invoking the parser directly, in case you don't need semantic analysis.
Namespace for the "new" cQASM 1.x API.