public static void SkipSymbol(this ITokenizer tokenizer, string symbol) { if (tokenizer.Current != TokenType.Symbol || tokenizer.CurrentData != symbol) { throw tokenizer.CreateParseError("DAE-00297 Expected symbol:" + symbol); } tokenizer.NextToken(); }
protected ParseError CreateParseError(string msg) { return(m_tokenizer.CreateParseError(msg)); }