protected LetterTerminal(LetterTerminal other, ParserCloneArgs args)
			: base(other, args)
		{
		}
        public void TestUseWithOtherParser()
        {
            var sample = "abc" + char.ConvertFromUtf32(0x8F4FE) + "def" + char.ConvertFromUtf32(0x56734);

            var grammar = new Grammar();
            var parser = new LetterTerminal() | new AnySurrogatePairTerminal();
            grammar.Inner = (+parser).Named("char");

            var match = grammar.Match(sample);

            Assert.IsTrue(match.Success, match.ErrorMessage);
            Assert.That(match.Length, Is.EqualTo(10));
        }
 protected LetterTerminal(LetterTerminal other, ParserCloneArgs args)
     : base(other, args)
 {
 }