DeclListAST.py (6714:028047200ff7) DeclListAST.py (11283:4cc8b312f026)
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;

--- 32 unchanged lines hidden (view full) ---

41 def files(self, parent=None):
42 s = set()
43 for decl in self.decls:
44 s |= decl.files(parent)
45 return s
46
47 def generate(self):
48 for decl in self.decls:
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;

--- 32 unchanged lines hidden (view full) ---

41 def files(self, parent=None):
42 s = set()
43 for decl in self.decls:
44 s |= decl.files(parent)
45 return s
46
47 def generate(self):
48 for decl in self.decls:
49 decl.generate()
50
51 def findMachines(self):
52 for decl in self.decls:
53 decl.findMachines()
49 decl.findMachines()
50 decl.generate()