Ejemplo n.º 1
0
 def __init__(self, path, definitions=None, headers=None, **kwds):
     self.__path = os.path.abspath(path)
     _NamedConstruct.__init__(self,
                              name=os.path.splitext(
                                  os.path.split(self.__path)[1])[0],
                              **kwds)
     self.__definitions = \
         definitions is not None and list(definitions) or []
     self.__headers = headers is not None and list(headers) or []
Ejemplo n.º 2
0
 def __init__(self, path, definitions=None, headers=None, **kwds):
     self.__path = os.path.abspath(path)
     _NamedConstruct.__init__(
         self,
         name=os.path.splitext(os.path.split(self.__path)[1])[0],
         **kwds
     )
     self.__definitions = \
         definitions is not None and list(definitions) or []
     self.__headers = headers is not None and list(headers) or []
Ejemplo n.º 3
0
 def __init__(self,
              oneway=False,
              parameters=None,
              return_field=None,
              throws=None,
              **kwds):
     _NamedConstruct.__init__(self, **kwds)
     self.__oneway = oneway
     self.__parameters = parameters is not None and list(parameters) or []
     self.__throws = throws is not None and list(throws) or []
     self.__return_field = return_field
Ejemplo n.º 4
0
 def __init__(
         self,
         type,  # @ReservedAssignment
         id=None,  # @ReservedAssignment
         required=True,
         value=None,
         **kwds):
     _NamedConstruct.__init__(self, **kwds)
     self.__id = id
     self.__type = type
     self.__required = required
     self.__value = value
Ejemplo n.º 5
0
 def __init__(
     self,
     oneway=False,
     parameters=None,
     return_field=None,
     throws=None,
     **kwds
 ):
     _NamedConstruct.__init__(self, **kwds)
     self.__oneway = oneway
     self.__parameters = parameters is not None and list(parameters) or []
     self.__throws = throws is not None and list(throws) or []
     self.__return_field = return_field
Ejemplo n.º 6
0
 def __init__(
     self,
     type,  # @ReservedAssignment
     id=None,  # @ReservedAssignment
     required=True,
     value=None,
     **kwds
 ):
     _NamedConstruct.__init__(self, **kwds)
     self.__id = id
     self.__type = type
     self.__required = required
     self.__value = value
Ejemplo n.º 7
0
 def __init__(self, scope=None, **kwds):
     _NamedConstruct.__init__(self, **kwds)
     self.__scope = scope
Ejemplo n.º 8
0
 def __init__(self, extends=None, functions=None, **kwds):
     _NamedConstruct.__init__(self, **kwds)
     self.__extends = extends
     self.__functions = functions is not None and list(functions) or []
Ejemplo n.º 9
0
 def __init__(self, type, **kwds):  # @ReservedAssignment
     _NamedConstruct.__init__(self, **kwds)
     self.__type = type
Ejemplo n.º 10
0
 def __init__(self, scope=None, **kwds):
     _NamedConstruct.__init__(self, **kwds)
     self.__scope = scope
Ejemplo n.º 11
0
 def __init__(self, extends=None, functions=None, **kwds):
     _NamedConstruct.__init__(self, **kwds)
     self.__extends = extends
     self.__functions = functions is not None and list(functions) or []
Ejemplo n.º 12
0
 def __init__(self, type, value, **kwds):  # @ReservedAssignment
     _NamedConstruct.__init__(self, **kwds)
     self.__type = type
     self.__value = value
Ejemplo n.º 13
0
 def __init__(self, type, overrides=True, **kwds):  # @ReservedAssignment
     _NamedConstruct.__init__(self, overrides=overrides, **kwds)
     self.__type = type