Browse Source

KERNEL-1117 再次修改

master
Kalven 5 years ago
parent
commit
c7d07be2fd
  1. 9
      src/main/java/com/fanruan/api/cal/ParameterKit.java
  2. 1
      src/main/java/com/fanruan/api/function/FunctionKit.java

9
src/main/java/com/fanruan/api/cal/ParameterKit.java

@ -89,4 +89,13 @@ public class ParameterKit {
public static @NotNull ParameterMapNameSpace createParameterMapNameSpace(ParameterProvider[] ps) { public static @NotNull ParameterMapNameSpace createParameterMapNameSpace(ParameterProvider[] ps) {
return ParameterMapNameSpace.create(ps); return ParameterMapNameSpace.create(ps);
} }
/**
* 创建新的参数对象
* @param content 参数名
* @return 参数对象
*/
public static @NotNull Parameter createNewParameter(String content) {
return new Parameter(content);
}
} }

1
src/main/java/com/fanruan/api/function/FunctionKit.java

@ -6,7 +6,6 @@ import com.fr.design.formula.NameAndDescription;
import com.fr.file.FunctionManager; import com.fr.file.FunctionManager;
import com.fr.file.FunctionManagerProvider; import com.fr.file.FunctionManagerProvider;
import com.fr.script.Calculator; import com.fr.script.Calculator;
//import com.fr.solution.plugin.design.formula.compat.FunctionDefNAD;
import com.fr.stable.StringUtils; import com.fr.stable.StringUtils;
import com.fr.stable.script.FunctionDef; import com.fr.stable.script.FunctionDef;

Loading…
Cancel
Save