We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81884f3 commit 86d3697Copy full SHA for 86d3697
opensquirrel/parsing/antlr/squirrel_ast_creator.py
@@ -5,6 +5,12 @@
5
6
7
class SquirrelASTCreator(CQasm3Visitor.CQasm3Visitor):
8
+ """
9
+ This class creates a SquirrelAST object from an ANTLR parse tree.
10
+ It is an instance of the ANTLR grammar visitor.
11
+ Therefore, method names are fixed and based on rule names in the Grammar .g4 file.
12
13
+
14
def __init__(self, gates):
15
self.gates = gates
16
self.squirrel_ast = None
0 commit comments