예제 #1
0
 def __init__(self, stream, version=None, preserve_quotes=None):
     Reader.__init__(self, stream)
     RoundTripScanner.__init__(self)
     RoundTripParser.__init__(self)
     Composer.__init__(self)
     RoundTripConstructor.__init__(self, preserve_quotes=preserve_quotes)
     VersionedResolver.__init__(self, version)
예제 #2
0
파일: loader.py 프로젝트: bopopescu/vinalo
 def __init__(self, stream, version=None, preserve_quotes=None):
     Reader.__init__(self, stream)
     RoundTripScanner.__init__(self)
     RoundTripParser.__init__(self)
     Composer.__init__(self)
     RoundTripConstructor.__init__(self, preserve_quotes=preserve_quotes)
     VersionedResolver.__init__(self, version)
예제 #3
0
파일: parser.py 프로젝트: tobbez/strictyaml
 def __init__(self, stream, version=None, preserve_quotes=None):
     Reader.__init__(self, stream, loader=self)
     StrictYAMLScanner.__init__(self, loader=self)
     RoundTripParser.__init__(self, loader=self)
     Composer.__init__(self, loader=self)
     StrictYAMLConstructor.__init__(self,
                                    preserve_quotes=preserve_quotes,
                                    loader=self)
     VersionedResolver.__init__(self, version, loader=self)
예제 #4
0
 def __init__(self, stream, version=None, preserve_quotes=None):
     # type: (StreamTextType, Optional[VersionType], Optional[bool]) -> None
     # self.reader = Reader.__init__(self, stream)
     Reader.__init__(self, stream, loader=self)
     RoundTripScanner.__init__(self, loader=self)
     RoundTripParser.__init__(self, loader=self)
     Composer.__init__(self, loader=self)
     RoundTripConstructor.__init__(self, preserve_quotes=preserve_quotes, loader=self)
     VersionedResolver.__init__(self, version, loader=self)
예제 #5
0
 def __init__(self, stream, version=None, preserve_quotes=None):
     Reader.__init__(self, stream, loader=self)
     StrictYAMLScanner.__init__(self, loader=self)
     RoundTripParser.__init__(self, loader=self)
     Composer.__init__(self, loader=self)
     StrictYAMLConstructor.__init__(
         self, preserve_quotes=preserve_quotes, loader=self
     )
     VersionedResolver.__init__(self, version, loader=self)