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

org.unlaxer.parser.LazyParserChildSpecifier Maven / Gradle / Ivy

package org.unlaxer.parser;

import java.util.function.Supplier;

public interface LazyParserChildSpecifier extends LazyInstance{
	
	public Supplier getLazyParser();
	
	@Override
	public default void prepareChildren(Parsers childrenContainer) {
		
		
		if(childrenContainer.isEmpty()){
			childrenContainer.add(getLazyParser().get());
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy