@SuppressWarnings({"rawtypes", "unchecked", "null"})
@Nullable
public static Effect parse(final String s, final @Nullable String defaultError) {
final ParseLogHandler log = SkriptLogger.startParseLogHandler();
try {
final EffFunctionCall f = EffFunctionCall.parse(s);
if (f != null) {
log.printLog();
return f;
} else if (log.hasError()) {
log.printError();