﻿namespace Parsley
{
    public sealed class CharLexer : Lexer
    {
        public CharLexer(string source)
            : this(new Text(source)) { }

        public CharLexer(Text text)
            : base(text, new TokenMatcher(typeof(char), @".")) { }
    }
}
﻿namespace Parsley
{
    public sealed class CharLexer : Lexer
    {
        public CharLexer(string source)
            : base(new Text(source), new TokenMatcher(typeof(char), @".")) { }
    }
}
Simplify AbstractGrammarSpec by replacing deprecated helper methods with a sample Lexer implementation
Simplify AbstractGrammarSpec by replacing deprecated helper methods with a sample Lexer implementation
