libqasm
library for handling cQASM files
|
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. More...
Go to the source code of this file.
Classes | |
class | cqasm::v1::parser::ParseResult |
Parse result information. More... | |
class | cqasm::v1::parser::ParseHelper |
Internal helper class for parsing 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::parser | |
Namespace for the parser functions and classes. | |
Typedefs | |
using | cqasm::v1::parser::SourceLocation = annotations::SourceLocation |
Functions | |
ParseResult | cqasm::v1::parser::parse_file (const std::string &filename) |
Parse the given file. More... | |
ParseResult | cqasm::v1::parser::parse_file (FILE *file, const std::string &filename) |
Parse using the given file pointer. More... | |
ParseResult | cqasm::v1::parser::parse_string (const std::string &data, const std::string &filename) |
Parse the given string. More... | |
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.
Definition in file cqasm-v1-parse-helper.hpp.