Skip to content

Commit 9e3da02

Browse files
authored
Merge pull request #914 from mP1/feature/ExpressionFunction-NO_PARAMETERS
ExpressionFunction.NO_PARAMETERS
2 parents d11acbe + 4ad59c5 commit 9e3da02

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/walkingkooka/tree/expression/function/ExpressionFunction.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ default ExpressionFunction<T, C> setName(final Optional<ExpressionFunctionName>
7676
return ExpressionFunctionCustomName.with(this, name);
7777
}
7878

79+
/**
80+
* Constant useful when a function expects no parameters.
81+
*/
82+
List<ExpressionFunctionParameter<?>> NO_PARAMETERS = Lists.empty();
83+
7984
/**
8085
* Returns meta info about the parameters for this function.
8186
*/

0 commit comments

Comments
 (0)