libqasm
library for handling cQASM files
|
Visitor class that debug-dumps a tree to a stream. More...
Protected Member Functions | |
void | write_indent () |
Writes the current indentation level's worth of spaces. More... | |
![]() | |
void | raw_visit_node (Node &node, void *retval) override |
Internal visitor function for nodes of any type. More... | |
void | raw_visit_node (Node &node, void *retval) |
Internal visitor function for nodes of any type. More... | |
void | raw_visit_node (Node &node, void *retval) |
Internal visitor function for nodes of any type. More... | |
void | raw_visit_add (Add &node, void *retval) override |
Internal visitor function for Add nodes. More... | |
void | raw_visit_add (Add &node, void *retval) |
Internal visitor function for Add nodes. More... | |
void | raw_visit_add (Add &node, void *retval) |
Internal visitor function for Add nodes. More... | |
void | raw_visit_annotated (Annotated &node, void *retval) override |
Internal visitor function for Annotated nodes. More... | |
void | raw_visit_annotated (Annotated &node, void *retval) |
Internal visitor function for Annotated nodes. More... | |
void | raw_visit_annotated (Annotated &node, void *retval) |
Internal visitor function for Annotated nodes. More... | |
void | raw_visit_annotation_data (AnnotationData &node, void *retval) override |
Internal visitor function for AnnotationData nodes. More... | |
void | raw_visit_annotation_data (AnnotationData &node, void *retval) |
Internal visitor function for AnnotationData nodes. More... | |
void | raw_visit_annotation_data (AnnotationData &node, void *retval) |
Internal visitor function for AnnotationData nodes. More... | |
void | raw_visit_arith_op (ArithOp &node, void *retval) override |
Internal visitor function for ArithOp nodes. More... | |
void | raw_visit_arith_op (ArithOp &node, void *retval) |
Internal visitor function for ArithOp nodes. More... | |
void | raw_visit_arith_op (ArithOp &node, void *retval) |
Internal visitor function for ArithOp nodes. More... | |
void | raw_visit_assignment (Assignment &node, void *retval) override |
Internal visitor function for Assignment nodes. More... | |
void | raw_visit_assignment (Assignment &node, void *retval) |
Internal visitor function for Assignment nodes. More... | |
void | raw_visit_assignment (Assignment &node, void *retval) |
Internal visitor function for Assignment nodes. More... | |
void | raw_visit_binary_op (BinaryOp &node, void *retval) override |
Internal visitor function for BinaryOp nodes. More... | |
void | raw_visit_binary_op (BinaryOp &node, void *retval) |
Internal visitor function for BinaryOp nodes. More... | |
void | raw_visit_binary_op (BinaryOp &node, void *retval) |
Internal visitor function for BinaryOp nodes. More... | |
void | raw_visit_bitwise_and (BitwiseAnd &node, void *retval) override |
Internal visitor function for BitwiseAnd nodes. More... | |
void | raw_visit_bitwise_and (BitwiseAnd &node, void *retval) |
Internal visitor function for BitwiseAnd nodes. More... | |
void | raw_visit_bitwise_and (BitwiseAnd &node, void *retval) |
Internal visitor function for BitwiseAnd nodes. More... | |
void | raw_visit_bitwise_not (BitwiseNot &node, void *retval) override |
Internal visitor function for BitwiseNot nodes. More... | |
void | raw_visit_bitwise_not (BitwiseNot &node, void *retval) |
Internal visitor function for BitwiseNot nodes. More... | |
void | raw_visit_bitwise_not (BitwiseNot &node, void *retval) |
Internal visitor function for BitwiseNot nodes. More... | |
void | raw_visit_bitwise_op (BitwiseOp &node, void *retval) override |
Internal visitor function for BitwiseOp nodes. More... | |
void | raw_visit_bitwise_op (BitwiseOp &node, void *retval) |
Internal visitor function for BitwiseOp nodes. More... | |
void | raw_visit_bitwise_op (BitwiseOp &node, void *retval) |
Internal visitor function for BitwiseOp nodes. More... | |
void | raw_visit_bitwise_or (BitwiseOr &node, void *retval) override |
Internal visitor function for BitwiseOr nodes. More... | |
void | raw_visit_bitwise_or (BitwiseOr &node, void *retval) |
Internal visitor function for BitwiseOr nodes. More... | |
void | raw_visit_bitwise_or (BitwiseOr &node, void *retval) |
Internal visitor function for BitwiseOr nodes. More... | |
void | raw_visit_bitwise_xor (BitwiseXor &node, void *retval) override |
Internal visitor function for BitwiseXor nodes. More... | |
void | raw_visit_bitwise_xor (BitwiseXor &node, void *retval) |
Internal visitor function for BitwiseXor nodes. More... | |
void | raw_visit_bitwise_xor (BitwiseXor &node, void *retval) |
Internal visitor function for BitwiseXor nodes. More... | |
void | raw_visit_break_statement (BreakStatement &node, void *retval) override |
Internal visitor function for BreakStatement nodes. More... | |
void | raw_visit_break_statement (BreakStatement &node, void *retval) |
Internal visitor function for BreakStatement nodes. More... | |
void | raw_visit_break_statement (BreakStatement &node, void *retval) |
Internal visitor function for BreakStatement nodes. More... | |
void | raw_visit_bundle (Bundle &node, void *retval) override |
Internal visitor function for Bundle nodes. More... | |
void | raw_visit_bundle (Bundle &node, void *retval) |
Internal visitor function for Bundle nodes. More... | |
void | raw_visit_bundle (Bundle &node, void *retval) |
Internal visitor function for Bundle nodes. More... | |
void | raw_visit_cmp_eq (CmpEq &node, void *retval) override |
Internal visitor function for CmpEq nodes. More... | |
void | raw_visit_cmp_eq (CmpEq &node, void *retval) |
Internal visitor function for CmpEq nodes. More... | |
void | raw_visit_cmp_eq (CmpEq &node, void *retval) |
Internal visitor function for CmpEq nodes. More... | |
void | raw_visit_cmp_ge (CmpGe &node, void *retval) override |
Internal visitor function for CmpGe nodes. More... | |
void | raw_visit_cmp_ge (CmpGe &node, void *retval) |
Internal visitor function for CmpGe nodes. More... | |
void | raw_visit_cmp_ge (CmpGe &node, void *retval) |
Internal visitor function for CmpGe nodes. More... | |
void | raw_visit_cmp_gt (CmpGt &node, void *retval) override |
Internal visitor function for CmpGt nodes. More... | |
void | raw_visit_cmp_gt (CmpGt &node, void *retval) |
Internal visitor function for CmpGt nodes. More... | |
void | raw_visit_cmp_gt (CmpGt &node, void *retval) |
Internal visitor function for CmpGt nodes. More... | |
void | raw_visit_cmp_le (CmpLe &node, void *retval) override |
Internal visitor function for CmpLe nodes. More... | |
void | raw_visit_cmp_le (CmpLe &node, void *retval) |
Internal visitor function for CmpLe nodes. More... | |
void | raw_visit_cmp_le (CmpLe &node, void *retval) |
Internal visitor function for CmpLe nodes. More... | |
void | raw_visit_cmp_lt (CmpLt &node, void *retval) override |
Internal visitor function for CmpLt nodes. More... | |
void | raw_visit_cmp_lt (CmpLt &node, void *retval) |
Internal visitor function for CmpLt nodes. More... | |
void | raw_visit_cmp_lt (CmpLt &node, void *retval) |
Internal visitor function for CmpLt nodes. More... | |
void | raw_visit_cmp_ne (CmpNe &node, void *retval) override |
Internal visitor function for CmpNe nodes. More... | |
void | raw_visit_cmp_ne (CmpNe &node, void *retval) |
Internal visitor function for CmpNe nodes. More... | |
void | raw_visit_cmp_ne (CmpNe &node, void *retval) |
Internal visitor function for CmpNe nodes. More... | |
void | raw_visit_cmp_op (CmpOp &node, void *retval) override |
Internal visitor function for CmpOp nodes. More... | |
void | raw_visit_cmp_op (CmpOp &node, void *retval) |
Internal visitor function for CmpOp nodes. More... | |
void | raw_visit_cmp_op (CmpOp &node, void *retval) |
Internal visitor function for CmpOp nodes. More... | |
void | raw_visit_continue_statement (ContinueStatement &node, void *retval) override |
Internal visitor function for ContinueStatement nodes. More... | |
void | raw_visit_continue_statement (ContinueStatement &node, void *retval) |
Internal visitor function for ContinueStatement nodes. More... | |
void | raw_visit_continue_statement (ContinueStatement &node, void *retval) |
Internal visitor function for ContinueStatement nodes. More... | |
void | raw_visit_divide (Divide &node, void *retval) override |
Internal visitor function for Divide nodes. More... | |
void | raw_visit_divide (Divide &node, void *retval) |
Internal visitor function for Divide nodes. More... | |
void | raw_visit_divide (Divide &node, void *retval) |
Internal visitor function for Divide nodes. More... | |
void | raw_visit_erroneous_expression (ErroneousExpression &node, void *retval) override |
Internal visitor function for ErroneousExpression nodes. More... | |
void | raw_visit_erroneous_expression (ErroneousExpression &node, void *retval) |
Internal visitor function for ErroneousExpression nodes. More... | |
void | raw_visit_erroneous_expression (ErroneousExpression &node, void *retval) |
Internal visitor function for ErroneousExpression nodes. More... | |
void | raw_visit_erroneous_program (ErroneousProgram &node, void *retval) override |
Internal visitor function for ErroneousProgram nodes. More... | |
void | raw_visit_erroneous_program (ErroneousProgram &node, void *retval) |
Internal visitor function for ErroneousProgram nodes. More... | |
void | raw_visit_erroneous_program (ErroneousProgram &node, void *retval) |
Internal visitor function for ErroneousProgram nodes. More... | |
void | raw_visit_erroneous_statement (ErroneousStatement &node, void *retval) override |
Internal visitor function for ErroneousStatement nodes. More... | |
void | raw_visit_erroneous_statement (ErroneousStatement &node, void *retval) |
Internal visitor function for ErroneousStatement nodes. More... | |
void | raw_visit_erroneous_statement (ErroneousStatement &node, void *retval) |
Internal visitor function for ErroneousStatement nodes. More... | |
void | raw_visit_expression (Expression &node, void *retval) override |
Internal visitor function for Expression nodes. More... | |
void | raw_visit_expression (Expression &node, void *retval) |
Internal visitor function for Expression nodes. More... | |
void | raw_visit_expression (Expression &node, void *retval) |
Internal visitor function for Expression nodes. More... | |
void | raw_visit_expression_list (ExpressionList &node, void *retval) override |
Internal visitor function for ExpressionList nodes. More... | |
void | raw_visit_expression_list (ExpressionList &node, void *retval) |
Internal visitor function for ExpressionList nodes. More... | |
void | raw_visit_expression_list (ExpressionList &node, void *retval) |
Internal visitor function for ExpressionList nodes. More... | |
void | raw_visit_float_literal (FloatLiteral &node, void *retval) override |
Internal visitor function for FloatLiteral nodes. More... | |
void | raw_visit_float_literal (FloatLiteral &node, void *retval) |
Internal visitor function for FloatLiteral nodes. More... | |
void | raw_visit_float_literal (FloatLiteral &node, void *retval) |
Internal visitor function for FloatLiteral nodes. More... | |
void | raw_visit_for_loop (ForLoop &node, void *retval) override |
Internal visitor function for ForLoop nodes. More... | |
void | raw_visit_for_loop (ForLoop &node, void *retval) |
Internal visitor function for ForLoop nodes. More... | |
void | raw_visit_for_loop (ForLoop &node, void *retval) |
Internal visitor function for ForLoop nodes. More... | |
void | raw_visit_foreach_loop (ForeachLoop &node, void *retval) override |
Internal visitor function for ForeachLoop nodes. More... | |
void | raw_visit_foreach_loop (ForeachLoop &node, void *retval) |
Internal visitor function for ForeachLoop nodes. More... | |
void | raw_visit_foreach_loop (ForeachLoop &node, void *retval) |
Internal visitor function for ForeachLoop nodes. More... | |
void | raw_visit_function_call (FunctionCall &node, void *retval) override |
Internal visitor function for FunctionCall nodes. More... | |
void | raw_visit_function_call (FunctionCall &node, void *retval) |
Internal visitor function for FunctionCall nodes. More... | |
void | raw_visit_function_call (FunctionCall &node, void *retval) |
Internal visitor function for FunctionCall nodes. More... | |
void | raw_visit_identifier (Identifier &node, void *retval) override |
Internal visitor function for Identifier nodes. More... | |
void | raw_visit_identifier (Identifier &node, void *retval) |
Internal visitor function for Identifier nodes. More... | |
void | raw_visit_identifier (Identifier &node, void *retval) |
Internal visitor function for Identifier nodes. More... | |
void | raw_visit_if_else (IfElse &node, void *retval) override |
Internal visitor function for IfElse nodes. More... | |
void | raw_visit_if_else (IfElse &node, void *retval) |
Internal visitor function for IfElse nodes. More... | |
void | raw_visit_if_else (IfElse &node, void *retval) |
Internal visitor function for IfElse nodes. More... | |
void | raw_visit_if_else_branch (IfElseBranch &node, void *retval) override |
Internal visitor function for IfElseBranch nodes. More... | |
void | raw_visit_if_else_branch (IfElseBranch &node, void *retval) |
Internal visitor function for IfElseBranch nodes. More... | |
void | raw_visit_if_else_branch (IfElseBranch &node, void *retval) |
Internal visitor function for IfElseBranch nodes. More... | |
void | raw_visit_index (Index &node, void *retval) override |
Internal visitor function for Index nodes. More... | |
void | raw_visit_index (Index &node, void *retval) |
Internal visitor function for Index nodes. More... | |
void | raw_visit_index (Index &node, void *retval) |
Internal visitor function for Index nodes. More... | |
void | raw_visit_index_entry (IndexEntry &node, void *retval) override |
Internal visitor function for IndexEntry nodes. More... | |
void | raw_visit_index_entry (IndexEntry &node, void *retval) |
Internal visitor function for IndexEntry nodes. More... | |
void | raw_visit_index_entry (IndexEntry &node, void *retval) |
Internal visitor function for IndexEntry nodes. More... | |
void | raw_visit_index_item (IndexItem &node, void *retval) override |
Internal visitor function for IndexItem nodes. More... | |
void | raw_visit_index_item (IndexItem &node, void *retval) |
Internal visitor function for IndexItem nodes. More... | |
void | raw_visit_index_item (IndexItem &node, void *retval) |
Internal visitor function for IndexItem nodes. More... | |
void | raw_visit_index_list (IndexList &node, void *retval) override |
Internal visitor function for IndexList nodes. More... | |
void | raw_visit_index_list (IndexList &node, void *retval) |
Internal visitor function for IndexList nodes. More... | |
void | raw_visit_index_list (IndexList &node, void *retval) |
Internal visitor function for IndexList nodes. More... | |
void | raw_visit_index_range (IndexRange &node, void *retval) override |
Internal visitor function for IndexRange nodes. More... | |
void | raw_visit_index_range (IndexRange &node, void *retval) |
Internal visitor function for IndexRange nodes. More... | |
void | raw_visit_index_range (IndexRange &node, void *retval) |
Internal visitor function for IndexRange nodes. More... | |
void | raw_visit_instruction (Instruction &node, void *retval) override |
Internal visitor function for Instruction nodes. More... | |
void | raw_visit_instruction (Instruction &node, void *retval) |
Internal visitor function for Instruction nodes. More... | |
void | raw_visit_instruction (Instruction &node, void *retval) |
Internal visitor function for Instruction nodes. More... | |
void | raw_visit_int_divide (IntDivide &node, void *retval) override |
Internal visitor function for IntDivide nodes. More... | |
void | raw_visit_int_divide (IntDivide &node, void *retval) |
Internal visitor function for IntDivide nodes. More... | |
void | raw_visit_int_divide (IntDivide &node, void *retval) |
Internal visitor function for IntDivide nodes. More... | |
void | raw_visit_integer_literal (IntegerLiteral &node, void *retval) override |
Internal visitor function for IntegerLiteral nodes. More... | |
void | raw_visit_integer_literal (IntegerLiteral &node, void *retval) |
Internal visitor function for IntegerLiteral nodes. More... | |
void | raw_visit_integer_literal (IntegerLiteral &node, void *retval) |
Internal visitor function for IntegerLiteral nodes. More... | |
void | raw_visit_json_literal (JsonLiteral &node, void *retval) override |
Internal visitor function for JsonLiteral nodes. More... | |
void | raw_visit_json_literal (JsonLiteral &node, void *retval) |
Internal visitor function for JsonLiteral nodes. More... | |
void | raw_visit_json_literal (JsonLiteral &node, void *retval) |
Internal visitor function for JsonLiteral nodes. More... | |
void | raw_visit_logical_and (LogicalAnd &node, void *retval) override |
Internal visitor function for LogicalAnd nodes. More... | |
void | raw_visit_logical_and (LogicalAnd &node, void *retval) |
Internal visitor function for LogicalAnd nodes. More... | |
void | raw_visit_logical_and (LogicalAnd &node, void *retval) |
Internal visitor function for LogicalAnd nodes. More... | |
void | raw_visit_logical_not (LogicalNot &node, void *retval) override |
Internal visitor function for LogicalNot nodes. More... | |
void | raw_visit_logical_not (LogicalNot &node, void *retval) |
Internal visitor function for LogicalNot nodes. More... | |
void | raw_visit_logical_not (LogicalNot &node, void *retval) |
Internal visitor function for LogicalNot nodes. More... | |
void | raw_visit_logical_op (LogicalOp &node, void *retval) override |
Internal visitor function for LogicalOp nodes. More... | |
void | raw_visit_logical_op (LogicalOp &node, void *retval) |
Internal visitor function for LogicalOp nodes. More... | |
void | raw_visit_logical_op (LogicalOp &node, void *retval) |
Internal visitor function for LogicalOp nodes. More... | |
void | raw_visit_logical_or (LogicalOr &node, void *retval) override |
Internal visitor function for LogicalOr nodes. More... | |
void | raw_visit_logical_or (LogicalOr &node, void *retval) |
Internal visitor function for LogicalOr nodes. More... | |
void | raw_visit_logical_or (LogicalOr &node, void *retval) |
Internal visitor function for LogicalOr nodes. More... | |
void | raw_visit_logical_xor (LogicalXor &node, void *retval) override |
Internal visitor function for LogicalXor nodes. More... | |
void | raw_visit_logical_xor (LogicalXor &node, void *retval) |
Internal visitor function for LogicalXor nodes. More... | |
void | raw_visit_logical_xor (LogicalXor &node, void *retval) |
Internal visitor function for LogicalXor nodes. More... | |
void | raw_visit_mapping (Mapping &node, void *retval) override |
Internal visitor function for Mapping nodes. More... | |
void | raw_visit_mapping (Mapping &node, void *retval) |
Internal visitor function for Mapping nodes. More... | |
void | raw_visit_mapping (Mapping &node, void *retval) |
Internal visitor function for Mapping nodes. More... | |
void | raw_visit_matrix_literal (MatrixLiteral &node, void *retval) override |
Internal visitor function for MatrixLiteral nodes. More... | |
void | raw_visit_matrix_literal (MatrixLiteral &node, void *retval) |
Internal visitor function for MatrixLiteral nodes. More... | |
void | raw_visit_matrix_literal (MatrixLiteral &node, void *retval) |
Internal visitor function for MatrixLiteral nodes. More... | |
void | raw_visit_modulo (Modulo &node, void *retval) override |
Internal visitor function for Modulo nodes. More... | |
void | raw_visit_modulo (Modulo &node, void *retval) |
Internal visitor function for Modulo nodes. More... | |
void | raw_visit_modulo (Modulo &node, void *retval) |
Internal visitor function for Modulo nodes. More... | |
void | raw_visit_multiply (Multiply &node, void *retval) override |
Internal visitor function for Multiply nodes. More... | |
void | raw_visit_multiply (Multiply &node, void *retval) |
Internal visitor function for Multiply nodes. More... | |
void | raw_visit_multiply (Multiply &node, void *retval) |
Internal visitor function for Multiply nodes. More... | |
void | raw_visit_negate (Negate &node, void *retval) override |
Internal visitor function for Negate nodes. More... | |
void | raw_visit_negate (Negate &node, void *retval) |
Internal visitor function for Negate nodes. More... | |
void | raw_visit_negate (Negate &node, void *retval) |
Internal visitor function for Negate nodes. More... | |
void | raw_visit_power (Power &node, void *retval) override |
Internal visitor function for Power nodes. More... | |
void | raw_visit_power (Power &node, void *retval) |
Internal visitor function for Power nodes. More... | |
void | raw_visit_power (Power &node, void *retval) |
Internal visitor function for Power nodes. More... | |
void | raw_visit_program (Program &node, void *retval) override |
Internal visitor function for Program nodes. More... | |
void | raw_visit_program (Program &node, void *retval) |
Internal visitor function for Program nodes. More... | |
void | raw_visit_program (Program &node, void *retval) |
Internal visitor function for Program nodes. More... | |
void | raw_visit_repeat_until_loop (RepeatUntilLoop &node, void *retval) override |
Internal visitor function for RepeatUntilLoop nodes. More... | |
void | raw_visit_repeat_until_loop (RepeatUntilLoop &node, void *retval) |
Internal visitor function for RepeatUntilLoop nodes. More... | |
void | raw_visit_repeat_until_loop (RepeatUntilLoop &node, void *retval) |
Internal visitor function for RepeatUntilLoop nodes. More... | |
void | raw_visit_root (Root &node, void *retval) override |
Internal visitor function for Root nodes. More... | |
void | raw_visit_root (Root &node, void *retval) |
Internal visitor function for Root nodes. More... | |
void | raw_visit_root (Root &node, void *retval) |
Internal visitor function for Root nodes. More... | |
void | raw_visit_shift_left (ShiftLeft &node, void *retval) override |
Internal visitor function for ShiftLeft nodes. More... | |
void | raw_visit_shift_left (ShiftLeft &node, void *retval) |
Internal visitor function for ShiftLeft nodes. More... | |
void | raw_visit_shift_left (ShiftLeft &node, void *retval) |
Internal visitor function for ShiftLeft nodes. More... | |
void | raw_visit_shift_op (ShiftOp &node, void *retval) override |
Internal visitor function for ShiftOp nodes. More... | |
void | raw_visit_shift_op (ShiftOp &node, void *retval) |
Internal visitor function for ShiftOp nodes. More... | |
void | raw_visit_shift_op (ShiftOp &node, void *retval) |
Internal visitor function for ShiftOp nodes. More... | |
void | raw_visit_shift_right_arith (ShiftRightArith &node, void *retval) override |
Internal visitor function for ShiftRightArith nodes. More... | |
void | raw_visit_shift_right_arith (ShiftRightArith &node, void *retval) |
Internal visitor function for ShiftRightArith nodes. More... | |
void | raw_visit_shift_right_arith (ShiftRightArith &node, void *retval) |
Internal visitor function for ShiftRightArith nodes. More... | |
void | raw_visit_shift_right_logic (ShiftRightLogic &node, void *retval) override |
Internal visitor function for ShiftRightLogic nodes. More... | |
void | raw_visit_shift_right_logic (ShiftRightLogic &node, void *retval) |
Internal visitor function for ShiftRightLogic nodes. More... | |
void | raw_visit_shift_right_logic (ShiftRightLogic &node, void *retval) |
Internal visitor function for ShiftRightLogic nodes. More... | |
void | raw_visit_statement (Statement &node, void *retval) override |
Internal visitor function for Statement nodes. More... | |
void | raw_visit_statement (Statement &node, void *retval) |
Internal visitor function for Statement nodes. More... | |
void | raw_visit_statement (Statement &node, void *retval) |
Internal visitor function for Statement nodes. More... | |
void | raw_visit_statement_list (StatementList &node, void *retval) override |
Internal visitor function for StatementList nodes. More... | |
void | raw_visit_statement_list (StatementList &node, void *retval) |
Internal visitor function for StatementList nodes. More... | |
void | raw_visit_statement_list (StatementList &node, void *retval) |
Internal visitor function for StatementList nodes. More... | |
void | raw_visit_string_literal (StringLiteral &node, void *retval) override |
Internal visitor function for StringLiteral nodes. More... | |
void | raw_visit_string_literal (StringLiteral &node, void *retval) |
Internal visitor function for StringLiteral nodes. More... | |
void | raw_visit_string_literal (StringLiteral &node, void *retval) |
Internal visitor function for StringLiteral nodes. More... | |
void | raw_visit_structured (Structured &node, void *retval) override |
Internal visitor function for Structured nodes. More... | |
void | raw_visit_structured (Structured &node, void *retval) |
Internal visitor function for Structured nodes. More... | |
void | raw_visit_structured (Structured &node, void *retval) |
Internal visitor function for Structured nodes. More... | |
void | raw_visit_subcircuit (Subcircuit &node, void *retval) override |
Internal visitor function for Subcircuit nodes. More... | |
void | raw_visit_subcircuit (Subcircuit &node, void *retval) |
Internal visitor function for Subcircuit nodes. More... | |
void | raw_visit_subcircuit (Subcircuit &node, void *retval) |
Internal visitor function for Subcircuit nodes. More... | |
void | raw_visit_subtract (Subtract &node, void *retval) override |
Internal visitor function for Subtract nodes. More... | |
void | raw_visit_subtract (Subtract &node, void *retval) |
Internal visitor function for Subtract nodes. More... | |
void | raw_visit_subtract (Subtract &node, void *retval) |
Internal visitor function for Subtract nodes. More... | |
void | raw_visit_ternary_cond (TernaryCond &node, void *retval) override |
Internal visitor function for TernaryCond nodes. More... | |
void | raw_visit_ternary_cond (TernaryCond &node, void *retval) |
Internal visitor function for TernaryCond nodes. More... | |
void | raw_visit_ternary_cond (TernaryCond &node, void *retval) |
Internal visitor function for TernaryCond nodes. More... | |
void | raw_visit_unary_op (UnaryOp &node, void *retval) override |
Internal visitor function for UnaryOp nodes. More... | |
void | raw_visit_unary_op (UnaryOp &node, void *retval) |
Internal visitor function for UnaryOp nodes. More... | |
void | raw_visit_unary_op (UnaryOp &node, void *retval) |
Internal visitor function for UnaryOp nodes. More... | |
void | raw_visit_variables (Variables &node, void *retval) override |
Internal visitor function for Variables nodes. More... | |
void | raw_visit_variables (Variables &node, void *retval) |
Internal visitor function for Variables nodes. More... | |
void | raw_visit_variables (Variables &node, void *retval) |
Internal visitor function for Variables nodes. More... | |
void | raw_visit_version (Version &node, void *retval) override |
Internal visitor function for Version nodes. More... | |
void | raw_visit_version (Version &node, void *retval) |
Internal visitor function for Version nodes. More... | |
void | raw_visit_version (Version &node, void *retval) |
Internal visitor function for Version nodes. More... | |
void | raw_visit_while_loop (WhileLoop &node, void *retval) override |
Internal visitor function for WhileLoop nodes. More... | |
void | raw_visit_while_loop (WhileLoop &node, void *retval) |
Internal visitor function for WhileLoop nodes. More... | |
void | raw_visit_while_loop (WhileLoop &node, void *retval) |
Internal visitor function for WhileLoop nodes. More... | |
Protected Attributes | |
std::ostream & | out |
Output stream to dump to. More... | |
int | indent = 0 |
Current indentation level. More... | |
::tree::base::PointerMap * | ids |
When non-null, the print node IDs from here instead of link contents. More... | |
bool | in_link = false |
Whether we're printing the contents of a link. More... | |
Visitor class that debug-dumps a tree to a stream.
Definition at line 9864 of file cqasm-v1-ast-gen.hpp.
#include <cqasm-v1-ast-gen.hpp>
|
inline |
Construct a dumping visitor.
Definition at line 9896 of file cqasm-v1-ast-gen.hpp.
|
protected |
Writes the current indentation level's worth of spaces.
Definition at line 10514 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Node
.
Implements cqasm::v1::ast::Visitor< void >.
Definition at line 10523 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Add
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10532 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Annotated
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10576 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a AnnotationData
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10615 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ArithOp
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10671 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Assignment
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10715 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a BinaryOp
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10759 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a BitwiseAnd
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10803 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a BitwiseNot
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10847 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a BitwiseOp
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10879 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a BitwiseOr
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10923 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a BitwiseXor
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 10967 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a BreakStatement
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11011 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Bundle
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11050 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a CmpEq
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11108 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a CmpGe
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11152 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a CmpGt
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11196 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a CmpLe
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11240 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a CmpLt
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11284 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a CmpNe
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11328 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a CmpOp
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11372 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ContinueStatement
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11416 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Divide
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11455 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ErroneousExpression
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11499 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ErroneousProgram
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11516 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ErroneousStatement
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11533 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Expression
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11572 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ExpressionList
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11589 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a FloatLiteral
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11628 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ForLoop
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11672 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ForeachLoop
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11759 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a FunctionCall
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11846 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Identifier
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11890 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a IfElse
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 11934 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a IfElseBranch
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12004 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Index
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12048 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a IndexEntry
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12092 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a IndexItem
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12109 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a IndexList
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12141 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a IndexRange
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12180 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Instruction
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12224 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a IntDivide
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12299 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a IntegerLiteral
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12343 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a JsonLiteral
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12387 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a LogicalAnd
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12431 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a LogicalNot
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12475 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a LogicalOp
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12507 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a LogicalOr
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12551 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a LogicalXor
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12595 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Mapping
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12639 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a MatrixLiteral
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12702 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Modulo
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12741 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Multiply
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12785 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Negate
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12829 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Power
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12861 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Program
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12905 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a RepeatUntilLoop
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 12961 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Root
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13024 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ShiftLeft
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13041 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ShiftOp
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13085 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ShiftRightArith
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13129 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a ShiftRightLogic
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13173 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Statement
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13217 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a StatementList
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13256 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a StringLiteral
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13295 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Structured
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13339 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Subcircuit
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13378 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Subtract
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13441 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a TernaryCond
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13485 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a UnaryOp
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13541 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Variables
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13573 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a Version
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13643 of file cqasm-v1-ast-gen.cpp.
|
overridevirtual |
Dumps a WhileLoop
node.
Reimplemented from cqasm::v1::ast::RecursiveVisitor.
Definition at line 13687 of file cqasm-v1-ast-gen.cpp.
|
protected |
Output stream to dump to.
Definition at line 9870 of file cqasm-v1-ast-gen.hpp.
|
protected |
Current indentation level.
Definition at line 9875 of file cqasm-v1-ast-gen.hpp.
|
protected |
When non-null, the print node IDs from here instead of link contents.
Definition at line 9880 of file cqasm-v1-ast-gen.hpp.
|
protected |
Whether we're printing the contents of a link.
Definition at line 9884 of file cqasm-v1-ast-gen.hpp.