All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.thisptr.jackson.jq.internal.tree.AssignPipeComponent Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package net.thisptr.jackson.jq.internal.tree;

import net.thisptr.jackson.jq.Expression;
import net.thisptr.jackson.jq.internal.tree.matcher.PatternMatcher;

public class AssignPipeComponent implements PipeComponent {
	public final Expression expr;
	public final PatternMatcher matcher;

	public AssignPipeComponent(final Expression expr, final PatternMatcher matcher) {
		this.expr = expr;
		this.matcher = matcher;
	}

	@Override
	public boolean canTerminatePipe() {
		return false;
	}

	@Override
	public String toString() {
		return expr + " as " + matcher;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy