def parse(self):
token_type = self.current_token.type.lower()<EOL>handler = getattr(self, f'<STR_LIT>', None)<EOL>if handler is None:<EOL><INDENT>raise self.error(f'<STR_LIT>')<EOL><DEDENT>return handler()<EOL>
Parse and return an nbt literal from the token stream.