qiskit/qasm/qasmparser.py
def parse(self, data):
        """Parse some data."""
        self.parser.parse(data, lexer=self.lexer, debug=self.parse_deb)
        if self.qasm is None:
            raise QasmError("Uncaught exception in parser; "
                            + "see previous messages for details.")
        return self.qasm
def parse(self, data):
        self.parser.parse(data, lexer=self.lexer, debug=self.parse_deb)
        if self.qasm is None:
            raise QasmError("Uncaught exception in parser; "
                            + "see previous messages for details.")
        return self.qasm
def parse ( self , data ) : self . parser . parse ( data , lexer = self . lexer , debug = self . parse_deb ) if self . qasm is None : raise QasmError ( "Uncaught exception in parser; " + "see previous messages for details." ) return self . qasm
Parse some data.
Parse some data .