|
libqasm
library for handling cQASM files
|
Internal class for implementing the visitor pattern. More...
Public Member Functions | |
| virtual | ~VisitorBase ()=default |
| Virtual destructor for proper cleanup. More... | |
Protected Member Functions | |
| virtual void | raw_visit_node (Node &node, void *retval)=0 |
| Internal visitor function for nodes of any type. More... | |
| virtual void | raw_visit_annotated (Annotated &node, void *retval)=0 |
Internal visitor function for Annotated nodes. More... | |
| virtual void | raw_visit_annotation_data (AnnotationData &node, void *retval)=0 |
Internal visitor function for AnnotationData nodes. More... | |
| virtual void | raw_visit_block (Block &node, void *retval)=0 |
Internal visitor function for Block nodes. More... | |
| virtual void | raw_visit_break_statement (BreakStatement &node, void *retval)=0 |
Internal visitor function for BreakStatement nodes. More... | |
| virtual void | raw_visit_bundle (Bundle &node, void *retval)=0 |
Internal visitor function for Bundle nodes. More... | |
| virtual void | raw_visit_bundle_ext (BundleExt &node, void *retval)=0 |
Internal visitor function for BundleExt nodes. More... | |
| virtual void | raw_visit_continue_statement (ContinueStatement &node, void *retval)=0 |
Internal visitor function for ContinueStatement nodes. More... | |
| virtual void | raw_visit_error_model (ErrorModel &node, void *retval)=0 |
Internal visitor function for ErrorModel nodes. More... | |
| virtual void | raw_visit_for_loop (ForLoop &node, void *retval)=0 |
Internal visitor function for ForLoop nodes. More... | |
| virtual void | raw_visit_foreach_loop (ForeachLoop &node, void *retval)=0 |
Internal visitor function for ForeachLoop nodes. More... | |
| virtual void | raw_visit_goto_instruction (GotoInstruction &node, void *retval)=0 |
Internal visitor function for GotoInstruction nodes. More... | |
| virtual void | raw_visit_if_else (IfElse &node, void *retval)=0 |
Internal visitor function for IfElse nodes. More... | |
| virtual void | raw_visit_if_else_branch (IfElseBranch &node, void *retval)=0 |
Internal visitor function for IfElseBranch nodes. More... | |
| virtual void | raw_visit_instruction (Instruction &node, void *retval)=0 |
Internal visitor function for Instruction nodes. More... | |
| virtual void | raw_visit_instruction_base (InstructionBase &node, void *retval)=0 |
Internal visitor function for InstructionBase nodes. More... | |
| virtual void | raw_visit_mapping (Mapping &node, void *retval)=0 |
Internal visitor function for Mapping nodes. More... | |
| virtual void | raw_visit_program (Program &node, void *retval)=0 |
Internal visitor function for Program nodes. More... | |
| virtual void | raw_visit_repeat_until_loop (RepeatUntilLoop &node, void *retval)=0 |
Internal visitor function for RepeatUntilLoop nodes. More... | |
| virtual void | raw_visit_set_instruction (SetInstruction &node, void *retval)=0 |
Internal visitor function for SetInstruction nodes. More... | |
| virtual void | raw_visit_statement (Statement &node, void *retval)=0 |
Internal visitor function for Statement nodes. More... | |
| virtual void | raw_visit_structured (Structured &node, void *retval)=0 |
Internal visitor function for Structured nodes. More... | |
| virtual void | raw_visit_subcircuit (Subcircuit &node, void *retval)=0 |
Internal visitor function for Subcircuit nodes. More... | |
| virtual void | raw_visit_variable (Variable &node, void *retval)=0 |
Internal visitor function for Variable nodes. More... | |
| virtual void | raw_visit_version (Version &node, void *retval)=0 |
Internal visitor function for Version nodes. More... | |
| virtual void | raw_visit_while_loop (WhileLoop &node, void *retval)=0 |
Internal visitor function for WhileLoop nodes. More... | |
Friends | |
| class | Node |
| class | Annotated |
| class | AnnotationData |
| class | Block |
| class | BreakStatement |
| class | Bundle |
| class | BundleExt |
| class | ContinueStatement |
| class | ErrorModel |
| class | ForLoop |
| class | ForeachLoop |
| class | GotoInstruction |
| class | IfElse |
| class | IfElseBranch |
| class | Instruction |
| class | InstructionBase |
| class | Mapping |
| class | Program |
| class | RepeatUntilLoop |
| class | SetInstruction |
| class | Statement |
| class | Structured |
| class | Subcircuit |
| class | Variable |
| class | Version |
| Version number primitive used within the AST and semantic trees. More... | |
| class | WhileLoop |
Internal class for implementing the visitor pattern.
Definition at line 2709 of file cqasm-v1-semantic-gen.hpp.
#include <cqasm-v1-semantic-gen.hpp>

|
virtualdefault |
Virtual destructor for proper cleanup.
|
protectedpure virtual |
Internal visitor function for nodes of any type.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for Annotated nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for AnnotationData nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for Block nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< void >.
|
protectedpure virtual |
Internal visitor function for BreakStatement nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for Bundle nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for BundleExt nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< void >.
|
protectedpure virtual |
Internal visitor function for ContinueStatement nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for ErrorModel nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< void >.
|
protectedpure virtual |
Internal visitor function for ForLoop nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for ForeachLoop nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for GotoInstruction nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< void >.
|
protectedpure virtual |
Internal visitor function for IfElse nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for IfElseBranch nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for Instruction nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for InstructionBase nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< void >.
|
protectedpure virtual |
Internal visitor function for Mapping nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for Program nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for RepeatUntilLoop nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for SetInstruction nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< void >.
|
protectedpure virtual |
Internal visitor function for Statement nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for Structured nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for Subcircuit nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for Variable nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< void >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< void >.
|
protectedpure virtual |
Internal visitor function for Version nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
protectedpure virtual |
Internal visitor function for WhileLoop nodes.
Implemented in cqasm::v1::semantic::Visitor< T >, cqasm::v1::semantic::Visitor< T >, and cqasm::v1::semantic::Visitor< T >.
|
friend |
Definition at line 2719 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2720 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2721 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2722 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2723 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2724 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2725 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2726 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2727 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2728 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2729 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2730 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2731 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2732 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2733 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2734 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2735 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2736 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2737 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2738 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2739 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2740 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2741 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2742 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Version number primitive used within the AST and semantic trees.
Definition at line 2743 of file cqasm-v1-semantic-gen.hpp.
|
friend |
Definition at line 2744 of file cqasm-v1-semantic-gen.hpp.
1.8.13