blob: 6564de0b8e656d28a98e3a582b7f542d3d34f55f [file] [log] [blame]
/*
* See LICENSE file in distribution for copyright and licensing information.
*/
package org.yaml.snakeyaml.parser;
import java.util.List;
import org.yaml.snakeyaml.events.Event;
/**
* @see <a href="http://pyyaml.org/wiki/PyYAML">PyYAML</a> for more information
*/
public interface Parser {
public boolean checkEvent(List<Class<? extends Event>> choices);
public boolean checkEvent(Class<? extends Event> choice);
public Event peekEvent();
public Event getEvent();
}