33 #ifndef YY_CQASM_V1_HOME_DOCS_CHECKOUTS_READTHEDOCS_ORG_USER_BUILDS_LIBQASM_CHECKOUTS_STABLE_CBUILD_SRC_CQASM_CQASM_V1_PARSER_HPP_INCLUDED 34 # define YY_CQASM_V1_HOME_DOCS_CHECKOUTS_READTHEDOCS_ORG_USER_BUILDS_LIBQASM_CHECKOUTS_STABLE_CBUILD_SRC_CQASM_CQASM_V1_PARSER_HPP_INCLUDED 39 # define CQASM_V1DEBUG 1 41 # define CQASM_V1DEBUG 0 44 # define CQASM_V1DEBUG 0 48 extern int cqasm_v1debug;
51 #line 5 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/stable/src/cqasm/src/cqasm-v1-parser.y" 66 #define YYSTYPE CQASM_V1STYPE 67 #define YYLTYPE CQASM_V1LTYPE 70 #line 71 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/stable/cbuild/src/cqasm/cqasm-v1-parser.hpp" 73 #ifndef CQASM_V1TOKENTYPE 74 # define CQASM_V1TOKENTYPE 126 #if ! defined CQASM_V1STYPE && ! defined CQASM_V1STYPE_IS_DECLARED 130 #line 76 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/stable/src/cqasm/src/cqasm-v1-parser.y" 170 #line 171 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/stable/cbuild/src/cqasm/cqasm-v1-parser.hpp" 172 # define CQASM_V1STYPE_IS_TRIVIAL 1 173 # define CQASM_V1STYPE_IS_DECLARED 1 177 #if ! defined CQASM_V1LTYPE && ! defined CQASM_V1LTYPE_IS_DECLARED 186 # define CQASM_V1LTYPE_IS_DECLARED 1 187 # define CQASM_V1LTYPE_IS_TRIVIAL 1 The file version identifier.
Defines the types for the cQASM abstract syntax tree, based on the classes from cqasm::tree.
A floating point literal.
A list of parallel instructions.
Contains annotation objects used within the trees by libqasm.
Represents a JSON literal.
A mapping (alias) for an expression.
Special/temporary string builder node, used to build strings from fragments and escape sequences whil...
An assignment statement within a loop definition.
int cqasm_v1parse(yyscan_t scanner, cqasm::v1::parser::ParseHelper &helper)
A list of one or more indices.
Internal helper class for parsing 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.
One or more variable declaration for some type.
Represents a matrix literal.
A single index in an index list.
Represents an annotation.
An inclusive range of indices in an index list.
An entry in an index list.
Represents a string literal.
Namespace for the abstract syntax tree node classes.
Represents a comma-separated list of expressions.
Ternary conditional operator.