public override ILexer <Via> Create()
        {
            var rws        = RequiredWhiteSpaceLexerFactory.Create();
            var innerLexer = RequiredDelimitedListLexerFactory.Create(
                Concatenation.Create(
                    ReceivedProtocolLexerFactory.Create(),
                    rws,
                    ReceivedByLexerFactory.Create(),
                    Option.Create(
                        Concatenation.Create(
                            rws,
                            CommentLexerFactory.Create()))));

            return(new ViaLexer(innerLexer));
        }
Example #2
0
        public override ILexer <TransferEncoding> Create()
        {
            var innerLexer = RequiredDelimitedListLexerFactory.Create(TransferCodingLexerFactory.Create());

            return(new TransferEncodingLexer(innerLexer));
        }