Exemple #1
0
 def __init__(self, inputStream: TokenStream):
     TokenStream.__init__(self, inputStream.field)
     self.stream = inputStream
Exemple #2
0
 def __init__(self, field: str, reader):
     TokenStream.__init__(self, field)
     self.reader = reader