Class TopLevelExpression
- java.lang.Object
-
- net.thisptr.jackson.jq.internal.tree.TopLevelExpression
-
- All Implemented Interfaces:
Expression
public class TopLevelExpression extends java.lang.Object implements Expression
-
-
Field Summary
Fields Modifier and Type Field Description private Expression
expr
private java.util.List<ImportStatement>
imports
private ModuleDirective
moduleDirective
-
Constructor Summary
Constructors Constructor Description TopLevelExpression(ModuleDirective moduleDirective, java.util.List<ImportStatement> imports, Expression expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path ipath, PathOutput output, boolean requirePath)
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
-
imports
private final java.util.List<ImportStatement> imports
-
expr
private final Expression expr
-
moduleDirective
private final ModuleDirective moduleDirective
-
-
Constructor Detail
-
TopLevelExpression
public TopLevelExpression(ModuleDirective moduleDirective, java.util.List<ImportStatement> imports, Expression expr)
-
-
Method Detail
-
apply
public void apply(Scope scope, com.fasterxml.jackson.databind.JsonNode in, Path ipath, 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
-
-