Example #1
0
        public override bool ExpectIt(ref IWordWalker ww, object additionalParam = null)
        {
            SingaWord currentWord = ww.GetCurrentWord();

            if (!currentWord.IsEof())
            {
                error = BuildExpectedError(currentWord.GetValue());
                return(false);
            }

            return(true);
        }