(self, comment)
| 220 | """Implementation of the type comment parser""" |
| 221 | |
| 222 | def __init__(self, comment): |
| 223 | # type: (str) -> None |
| 224 | self.comment = comment |
| 225 | self.tokens = tokenize(comment) |
| 226 | self.i = 0 |
| 227 | |
| 228 | def parse(self): |
| 229 | # type: () -> Tuple[List[Argument], AbstractType] |