class ScenarioParser extends ExtendedParser {

    public final Scenario readScenario() throws ParserException {
        skipUtf8Bom();
        while (available()) {
            int lastPosition = -1;
            while (available() && lastPosition != currentPosition) {
                lastPosition = currentPosition;
                skipWhitespaces();
                skipComments();
            }
            if (available()) {
                readStatement();
            }
        }
        return scenario;
    }

    public  ScenarioParser(String toParse);

}