Exemple #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 []
Exemple #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 []
Exemple #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
Exemple #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
Exemple #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
Exemple #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
Exemple #7
0
 def __init__(self, scope=None, **kwds):
     _NamedConstruct.__init__(self, **kwds)
     self.__scope = scope
Exemple #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 []
Exemple #9
0
 def __init__(self, type, **kwds):  # @ReservedAssignment
     _NamedConstruct.__init__(self, **kwds)
     self.__type = type
Exemple #10
0
 def __init__(self, scope=None, **kwds):
     _NamedConstruct.__init__(self, **kwds)
     self.__scope = scope
Exemple #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 []
Exemple #12
0
 def __init__(self, type, value, **kwds):  # @ReservedAssignment
     _NamedConstruct.__init__(self, **kwds)
     self.__type = type
     self.__value = value
Exemple #13
0
 def __init__(self, type, overrides=True, **kwds):  # @ReservedAssignment
     _NamedConstruct.__init__(self, overrides=overrides, **kwds)
     self.__type = type