public static StatementBuilder <StatementType, ParserTokenType, LexerTokenType> AcceptAllWhitespace( this StatementBuilder <StatementType, ParserTokenType, LexerTokenType> statement) { return(statement.AggregateWhile( lt => lt.Equals(LexerTokenType.Whitespace) || lt.Equals(LexerTokenType.Newline), ParserTokenType.Whitespace)); }