This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MList(object): | |
def __init__(self, owner, feature): | |
self.innerlist = [] | |
self.owner = owner | |
self.feature = feature | |
def size(self): | |
return len(self.innerlist) | |
def append(self, value, update_opposite=True): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyecore.resources import ResourceSet | |
from pyecore.utils import dispatch | |
import pyecore.ecore as ecore | |
class PlantUMLSwitch(object): | |
def __init__(self): | |
self.visited = set() | |
@dispatch |
OlderNewer