# Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
# 
# This file is part of PyQt6.
# 
# This software is licensed for use under the terms of the Riverbank Commercial
# License.  See the file LICENSE for more details.  It is supplied WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE.


class SourceFile:
    """ The base class for any source file that provides translation contexts.
    """

    def __init__(self, filename, **kwargs):
        """ Initialise the object. """

        super().__init__(**kwargs)

        self.filename = filename
        self.contexts = []
