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

org.unlaxer.context.CombinedDebugSpecifier Maven / Gradle / Ivy

package org.unlaxer.context;

import org.unlaxer.Name;
import org.unlaxer.listener.CombinedDebugListener;

public class CombinedDebugSpecifier implements ParseContextEffector {

	CombinedDebugListener combinedDebugListener;
	
	public CombinedDebugSpecifier(CombinedDebugListener combinedDebugListener) {
		super();
		this.combinedDebugListener = combinedDebugListener;
	}
	

	@Override
	public void effect(ParseContext parseContext) {
		parseContext.addParserListener(
				Name.of(ParserDebugSpecifier.class),
				combinedDebugListener);
		parseContext.addTransactionListener(
				Name.of(TransactionDebugSpecifier.class),
				combinedDebugListener);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy