private boolean looksLikeChannel(int tp) {
		if (moreTokens() && tokenStream.get(tp).getKind() == TokenKind.IDENTIFIER) {
			String prefix = tokenStream.get(tp).data;
			if (isLegalChannelPrefix(prefix)) {
				if (tokenStreamPointer + 1 < tokenStream.size() && tokenStream.get(tp + 1).getKind() == TokenKind.COLON) {
					// if (isNextTokenAdjacent(tp) && isNextTokenAdjacent(tp + 1)) {
					return true;
					// }
				}
			}
		}
		return false;
	}
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