Class FunctionCall
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.tree.FunctionCall
-
- All Implemented Interfaces:
Expression
public class FunctionCall extends java.lang.Object implements Expression
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Expression>
args
private java.lang.String
moduleName
private java.lang.String
name
private Version
version
-
Constructor Summary
Constructors Constructor Description FunctionCall(java.lang.String moduleName, java.lang.String name, java.util.List<Expression> args, Version version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, boolean requirePath)
private Function
lookupFunction(Scope scope)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.thisptr.jackson.jq.Expression
apply
-
-
-
-
Field Detail
-
name
private final java.lang.String name
-
args
private final java.util.List<Expression> args
-
version
private final Version version
-
moduleName
private final java.lang.String moduleName
-
-
Constructor Detail
-
FunctionCall
public FunctionCall(java.lang.String moduleName, java.lang.String name, java.util.List<Expression> args, Version version)
-
-
Method Detail
-
lookupFunction
private Function lookupFunction(Scope scope) throws JsonQueryException
- Throws:
JsonQueryException
-
apply
public void apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path path, PathOutput output, boolean requirePath) throws JsonQueryException
- Specified by:
apply
in interfaceExpression
- Throws:
JsonQueryException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-