protected virtual string ReadIdent() { var sb = new StringBuilder(); char ch = _reader.NextChar; sb.Append(ch); ch = _reader.Next(); while (CommandStream.IsAlpha(ch) || CommandStream.IsDigit(ch)) { sb.Append(ch); ch = _reader.Next(); } return(sb.ToString()); }
protected virtual bool IsIdentStart(char ch) { return(CommandStream.IsAlpha(ch)); }