Antlr4.StringTemplate.Compiler.TemplateLexer.Match C# (CSharp) Метод

Match() публичный Метод

public Match ( char x ) : void
x char
Результат void
        public virtual void Match(char x)
        {
            if (c != x)
            {
                NoViableAltException e = new NoViableAltException(string.Empty, 0, 0, input);
                errMgr.LexerError(input.SourceName, string.Format("expecting '{0}', found '{1}'", x, GetCharString(c)), templateToken, e);
            }

            Consume();
        }