/[gnue]/gnue-appserver/src/classrep/Class.py
ViewVC logotype

Diff of /gnue-appserver/src/classrep/Class.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by jvetter, Tue Oct 21 12:26:50 2003 UTC revision 1.11 by siesel, Sat Nov 8 18:43:28 2003 UTC
# Line 25  import types Line 25  import types
25  from Base import *  from Base import *
26  from Namespace import *  from Namespace import *
27  from Property import *  from Property import *
28    from Procedure import *
29    
30  # =============================================================================  # =============================================================================
31  # Dictionary with classes  # Dictionary with classes
# Line 144  class Class: Line 145  class Class:
145      self.table      = self.fullName      self.table      = self.fullName
146    
147      self.properties = PropertyDict (classDict.session, classDict.modules, self)      self.properties = PropertyDict (classDict.session, classDict.modules, self)
148        self.procedures = ProcedureDict (classDict.session, classDict.modules, self)
149    
150    
151    # ---------------------------------------------------------------------------    # ---------------------------------------------------------------------------
# Line 161  class Class: Line 163  class Class:
163    # ---------------------------------------------------------------------------    # ---------------------------------------------------------------------------
164    def findProp (self, name):    def findProp (self, name):
165      return self.properties [name]      return self.properties [name]
166    
167      # ---------------------------------------------------------------------------
168      # Return a procedure by name
169      # ---------------------------------------------------------------------------
170      def findProc (self, name):
171        return self.procedures [name]
172                

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26