A separator or punctuator token such as '(', '[' or '->
| 151 | |
| 152 | |
| 153 | class Separator(Token): |
| 154 | """A separator or punctuator token such as '(', '[' or '->'""" |
| 155 | |
| 156 | def __init__(self, text): |
| 157 | # type: (str) -> None |
| 158 | self.text = text |
| 159 | |
| 160 | def __repr__(self): |
| 161 | # type: () -> str |
| 162 | return self.text |
| 163 | |
| 164 | |
| 165 | class End(Token): |