qiskit/qasm/qasmparser.py
def p_measure(self, program):
        """
           measure : MEASURE primary ASSIGN primary
        """
        program[0] = node.Measure([program[2], program[4]])
        self.verify_reg(program[2], 'qreg')
        self.verify_reg(program[4], 'creg')
def p_measure(self, program):
        """
           measure : MEASURE primary ASSIGN primary
        """
        program[0] = node.Measure([program[2], program[4]])
        self.verify_reg(program[2], 'qreg')
        self.verify_reg(program[4], 'creg')
def p_measure ( self , program ) : program [ 0 ] = node . Measure ( [ program [ 2 ] , program [ 4 ] ] ) self . verify_reg ( program [ 2 ] , 'qreg' ) self . verify_reg ( program [ 4 ] , 'creg' )
measure : MEASURE primary ASSIGN primary
measure : MEASURE primary ASSIGN primary