public override ILexer <StatusLine> Create() { var sp = SpaceLexerFactory.Create(); var innerLexer = Concatenation.Create( HttpVersionLexerFactory.Create(), sp, StatusCodeLexerFactory.Create(), sp, ReasonPhraseLexerFactory.Create(), NewLineLexerFactory.Create()); return(new StatusLineLexer(innerLexer)); }
public override ILexer <RequestLine> Create() { var sp = SpaceLexerFactory.Create(); var innerLexer = Concatenation.Create( MethodLexerFactory.Create(), sp, RequestTargetLexerFactory.Create(), sp, HttpVersionLexerFactory.Create(), NewLineLexerFactory.Create()); return(new RequestLineLexer(innerLexer)); }