qiskit/qasm/qasm.py
def parse(self):
        """Parse the data."""
        if self._filename:
            with open(self._filename) as ifile:
                self._data = ifile.read()

        with QasmParser(self._filename) as qasm_p:
            qasm_p.parse_debug(False)
            return qasm_p.parse(self._data)
def parse(self):
        if self._filename:
            with open(self._filename) as ifile:
                self._data = ifile.read()

        with QasmParser(self._filename) as qasm_p:
            qasm_p.parse_debug(False)
            return qasm_p.parse(self._data)
def parse ( self ) : if self . _filename : with open ( self . _filename ) as ifile : self . _data = ifile . read ( ) with QasmParser ( self . _filename ) as qasm_p : qasm_p . parse_debug ( False ) return qasm_p . parse ( self . _data )
Parse the data.
Parse the data .