1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 2# Copyright (c) 2009 The Hewlett-Packard Development Company 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 30 unchanged lines hidden (view full) --- 39 40 def __repr__(self): 41 return "[Machine: %r]" % self.ident 42 43 def files(self, parent=None): 44 s = set(('%s_Controller.cc' % self.ident, 45 '%s_Controller.hh' % self.ident, 46 '%s_Controller.py' % self.ident, |
47 '%s_Transitions.cc' % self.ident, 48 '%s_Wakeup.cc' % self.ident)) 49 50 s |= self.decls.files(self.ident) 51 return s 52 53 def generate(self): 54 # Make a new frame --- 26 unchanged lines hidden --- |