Ejemplo n.º 1
0
        private void Advance(bool throwOnEnd = true)
        {
            var last = _enumerator.Current;

            if (!_enumerator.MoveNext() && throwOnEnd)
            {
                throw QueryParserException.UnexpectedEndAt(last);
            }
        }
Ejemplo n.º 2
0
 private void QueryParserHandler(QueryParserException e, out string text)
 {
     text = Localization.Get(e);
 }