code: def t_singlequote_end(self, t):
          r"'"
          t.value = t.lexer.string_value
          t.type = 'ID'
          t.lexer.string_value = None
          t.lexer.pop_state()
          return f t_singlequote_end(self, t):
          r"'"
          t.value = t.lexer.string_value
          t.type = 'ID'
          t.lexer.string_value = None
          t.lexer.pop_state()
          return t
docs: r"