class ExpressionParser {

  public static KsqlWindowExpression parseWindowExpression(final String expressionText) {
    final ParserRuleContext parseTree = GrammarParseUtil.getParseTree(
        expressionText,
        SqlBaseParser::windowExpression
    );
    final WindowExpression windowExpression =
        new AstBuilder(TypeRegistry.EMPTY).buildWindowExpression(parseTree);
    return windowExpression.getKsqlWindowExpression();
  }

  private  ExpressionParser();

}