FrameClass.py (593B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 6 class FrameClass: 7 def __init__(self, cls): 8 self.cls = cls 9 10 11 class Frame(FrameClass): 12 def __init__(self, cls, ty, flags): 13 FrameClass.__init__(self, cls) 14 self.ty = ty 15 self.flags = flags 16 self.is_concrete = True 17 18 19 class AbstractFrame(FrameClass): 20 def __init__(self, cls): 21 FrameClass.__init__(self, cls) 22 self.is_concrete = False