Add public method for determining whether current string token is a literal (isQuotedString)