MCPcopy Index your code
hub / github.com/Tencent/APIJSON / FunctionParser

Interface FunctionParser

APIJSONORM/src/main/java/apijson/orm/FunctionParser.java:17–54  ·  view source on GitHub ↗

远程函数解析器 @author Lemon

Source from the content-addressed store, hash-verified

15 * @author Lemon
16 */
17public interface FunctionParser<T, M extends Map<String, Object>, L extends List<Object>> {
18
19 Object invoke(@NotNull String function, @NotNull M currentObject) throws Exception;
20 Object invoke(@NotNull String function, @NotNull M currentObject, boolean containRaw) throws Exception;
21
22 Parser<T, M, L> getParser();
23
24 FunctionParser<T, M, L> setParser(Parser<T, M, L> parser);
25
26 RequestMethod getMethod();
27 FunctionParser<T, M, L> setMethod(RequestMethod method);
28
29 String getTag();
30 FunctionParser<T, M, L> setTag(String tag);
31
32 int getVersion();
33 FunctionParser<T, M, L> setVersion(int version);
34
35 @NotNull
36 M getRequest();
37 FunctionParser<T, M, L> setRequest(@NotNull M request);
38
39
40 String getKey();
41 FunctionParser<T, M, L> setKey(String key);
42
43 String getParentPath();
44 FunctionParser<T, M, L> setParentPath(String parentPath);
45
46 String getCurrentName();
47 FunctionParser<T, M, L> setCurrentName(String currentName);
48
49
50 @NotNull
51 M getCurrentObject();
52 FunctionParser<T, M, L> setCurrentObject(@NotNull M currentObject);
53
54}

Callers 9

invokeMethod · 0.65
getWarnStringMethod · 0.65
getStructureMethod · 0.65
onObjectParseMethod · 0.65
onArrayParseMethod · 0.65
onJoinParseMethod · 0.65
getValueByPathMethod · 0.65
batchVerifyMethod · 0.65
executeMethod · 0.65

Implementers 1

AbstractFunctionParserAPIJSONORM/src/main/java/apijson/orm/A

Calls

no outgoing calls

Tested by

no test coverage detected