You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!m.matches()) // We have checks when loading the signature
113
+
if (!m.matches()) // We have checks when loading the signature, but matches() must be called anyway
109
114
returnerror("Invalid function definition. Please check for typos and that the function's name only contains letters and underscores. Refer to the documentation for more information.");
110
115
finalStringname = "" + m.group(1);
111
116
Signature<?> sign = signatures.get(name);
@@ -122,6 +127,12 @@ public final static Function<?> loadFunction(final SectionNode node) {
122
127
returnf;
123
128
}
124
129
130
+
/**
131
+
* Loads the signature of function from given node.
132
+
* @param script Script file name (<b>might</b> be used for some checks).
133
+
* @param node Section node.
134
+
* @return Signature of function, or null if something went wrong.
0 commit comments