blob: 1b89e77c59303c01de9baca30ee97e9ad958d03f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
*
* SPDX-License-Identifier: EPL-2.0
*/
package tools.refinery.store.query.view;
import tools.refinery.store.query.term.Parameter;
import tools.refinery.store.query.term.ParameterDirection;
import tools.refinery.store.representation.Symbol;
public final class FunctionView<T> extends AbstractFunctionView<T> {
public FunctionView(Symbol<T> symbol, String name) {
super(symbol, name, new Parameter(symbol.valueType(), ParameterDirection.OUT));
}
public FunctionView(Symbol<T> symbol) {
this(symbol, "function");
}
}
|