Show
Ignore:
Timestamp:
08/12/08 21:13:54 (5 months ago)
Author:
Chuck.Esterbrook
Message:

Added partial classes.
ticket:10

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Source/Boxes.cobra

    r1560 r1573  
    281281                _nextPrivateSerialNumber += 1 
    282282                return n 
     283 
     284        def mergedIntoPartialBox(newBox as Box) 
     285                require 
     286                        newBox is not .parentBox 
     287                        newBox.name == .parentBox.name 
     288                body 
     289                        _parentBox = newBox 
    283290 
    284291        get canAccessMemberForName as bool is override 
     
    568575                                try 
    569576                                        if decl inherits BoxMember 
    570                                                 if decl.box is not this 
     577                                                if decl.box is not this  # TODO: when does this happen 
    571578                                                        continue 
    572579                                        decl.bindInt