private boolean noMorePipes(int tp) {
		while (tp < tokenStreamLength) {
			if (tokenStream.get(tp++).getKind() == TokenKind.PIPE) {
				return false;
			}
		}
		return true;
	}
Parse a stream definition.

@return the AST for the parsed stream
@throws StreamDefinitionException
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/stream/dsl/StreamConfigParser.java