commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/appserver/src/_featuretest GodlParser.py O...


From: Daniel E. Baumann
Subject: gnue/appserver/src/_featuretest GodlParser.py O...
Date: Thu, 26 Dec 2002 00:37:31 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Daniel E. Baumann <address@hidden>      02/12/26 00:37:30

Modified files:
        appserver/src/_featuretest: GodlParser.py Objects.py 

Log message:
        Finish godl parser.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/appserver/src/_featuretest/GodlParser.py.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/appserver/src/_featuretest/Objects.py.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: gnue/appserver/src/_featuretest/GodlParser.py
diff -c gnue/appserver/src/_featuretest/GodlParser.py:1.4 
gnue/appserver/src/_featuretest/GodlParser.py:1.5
*** gnue/appserver/src/_featuretest/GodlParser.py:1.4   Mon Dec 23 00:23:10 2002
--- gnue/appserver/src/_featuretest/GodlParser.py       Thu Dec 26 00:37:30 2002
***************
*** 19,25 ****
  # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: GodlParser.py,v 1.4 2002/12/23 05:23:10 baumannd Exp $
  
  import Objects
  from gnue.common import GTypecast, GParser
--- 19,25 ----
  # write to the Free Software Foundation, Inc., 59 Temple Place 
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: GodlParser.py,v 1.5 2002/12/26 05:37:30 baumannd Exp $
  
  import Objects
  from gnue.common import GTypecast, GParser
***************
*** 308,313 ****
--- 308,318 ----
              'Required': 1,
              'Unique': 1
              'Typecast': GTypecast.name
+           },
+           
+           'oneway':
+           {
+             'Typecast': GTypecast.boolean
            }
          },
           
***************
*** 388,394 ****
                         'sequence', 'key', 'value', 'member', 'case',
                         'default', 'target', 'returns', 'parameter',
                         'attribute',)
!       }
      }
  
    return xmlElements
--- 393,451 ----
                         'sequence', 'key', 'value', 'member', 'case',
                         'default', 'target', 'returns', 'parameter',
                         'attribute',)
!       },
! 
!       'set':
!       {
!         'BaseClass': Objects.GodlSet,
!         'ParentTags': ('typedef', 'array', 'set', 'bag', 'list',
!                        'sequence', 'key', 'value', 'member', 'case',
!                        'default', 'target', 'returns', 'parameter',
!                        'attribute',)
!       },
! 
!       'bag':
!       {
!         'BaseClass': Objects.GodlBag,
!         'ParentTags': ('typedef', 'array', 'set', 'bag', 'list',
!                        'sequence', 'key', 'value', 'member', 'case',
!                        'default', 'target', 'returns', 'parameter',
!                        'attribute',)
!       },
! 
!       'list'
!       {
!         'BaseClass': Objects.GodlList,
!         'ParentTags': ('typedef', 'array', 'set', 'bag', 'list',
!                        'sequence', 'key', 'value', 'member', 'case',
!                        'default', 'target', 'returns', 'parameter',
!                        'attribute',)
!       },
!         
!       'dictionary':
!       {
!         'BaseClass': Objects.GodlDictionary,
!         'ParentTags': ('typedef', 'array', 'set', 'bag', 'list',
!                        'sequence', 'key', 'value', 'member', 'case',
!                        'default', 'target', 'returns', 'parameter',
!                        'attribute',)
!       },
! 
!       'key':
!       {
!         'BaseClass': Objects.GodlKey,
!         'Required': 1,
!         'SingleInstance': 1,
!         'ParentTags': ('dictionary',)
!       },
! 
!       'value':
!       {
!         'BaseClass': Objects.GodlValue,
!         'Required': 1,
!         'SingleInstance': 1,
!         'ParentTags': ('dictionary',)
!       }        
      }
  
    return xmlElements
Index: gnue/appserver/src/_featuretest/Objects.py
diff -c gnue/appserver/src/_featuretest/Objects.py:1.5 
gnue/appserver/src/_featuretest/Objects.py:1.6
*** gnue/appserver/src/_featuretest/Objects.py:1.5      Mon Dec 23 00:23:10 2002
--- gnue/appserver/src/_featuretest/Objects.py  Thu Dec 26 00:37:30 2002
***************
*** 19,25 ****
  # write to the Free Software Foundation, Inc., 59 Temple Place
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: Objects.py,v 1.5 2002/12/23 05:23:10 baumannd Exp $
  
  from gnue.common.GObjects import GObj
  from gnue.common.GRootObj import GRootObj
--- 19,25 ----
  # write to the Free Software Foundation, Inc., 59 Temple Place
  # - Suite 330, Boston, MA 02111-1307, USA.
  #
! # $Id: Objects.py,v 1.6 2002/12/26 05:37:30 baumannd Exp $
  
  from gnue.common.GObjects import GObj
  from gnue.common.GRootObj import GRootObj
***************
*** 134,142 ****
      GodlObject.__init__(self, parent, type='GodlArray')
  
  class GodlSequence(GodlObject):
!   def __inti__(self, parent):
      GodlObject.__init__(self, parent, type='GodlSequence')
  
  class GodlConst(GodlObject):
    def __init__(self, parent):
      GodlObject.__init__(self, parent, type='GodlConst')
--- 134,166 ----
      GodlObject.__init__(self, parent, type='GodlArray')
  
  class GodlSequence(GodlObject):
!   def __init__(self, parent):
      GodlObject.__init__(self, parent, type='GodlSequence')
  
+ class GodlSet(GodlObject):
+   def __init__(self, parent):
+     GodlObject.__init__(self, parent, type='GodlSet')
+ 
+ class GodlBag(GodlObject):
+   def __init__(self, parent):
+     GodlObject.__init__(self, parent, type='GodlBag')
+ 
+ class GodlList(GodlObject):
+   def __init__(self, parent):
+     GodlObject.__init__(self, parent, type='GodlList')
+ 
+ class GodlDictionary(GodlObject):
+   def __init__(self, parent):
+     GodlObject.__init__(self, parent, type='GodlDictionary')
+ 
+ class GodlKey(GodlObject):
+   def __init__(self, parent):
+     GodlObject.__init__(self, parent, type='GodlKey')
+ 
+ class GodlValue(GodlObject):
+   def __init__(self, parent):
+     GodlObject.__init__(self, parent, type='GodlValue')    
+     
  class GodlConst(GodlObject):
    def __init__(self, parent):
      GodlObject.__init__(self, parent, type='GodlConst')



reply via email to

[Prev in Thread] Current Thread [Next in Thread]