View Javadoc
1   package org.wikimedia.search.extra.regex.expression;
2   
3   /**
4    * Type that can be expressed as an expression.
5    *
6    * @param <T> type stored in leaves
7    */
8   public interface ExpressionSource<T> {
9       /**
10       * This expressed as an expression. The result might not be simplified so
11       * call simplify on it if you need it simplified.
12       */
13      Expression<T> expression();
14  }