23 if (escape ==
"\\t") {
25 }
else if (escape ==
"\\n") {
27 }
else if (escape ==
"\\r") {
29 }
else if (escape ==
"\\'") {
31 }
else if (escape ==
"\\\"") {
33 }
else if (escape ==
"\\\\") {
Defines the types for the cQASM abstract syntax tree, based on the classes from cqasm::tree.
void push_escape(const std::string &escape)
Pushes an escape sequence into the string.
Toplevel namespace with entry points for the new API.
Namespace for the "new" cQASM 1.x API.
void push_string(const std::string &str)
Pushes a string fragment into the string.
std::ostringstream stream