class SubStepDefinitionParser {

    public PatternMap<ParentStep> loadSubSteps(final File definitions) {

        final Collection<File> substepsFiles = FileUtils.getFiles(definitions, "substeps");

        for (final File f : substepsFiles) {
            parseSubStepFile(f);
        }

        return this.parentMap;
    }

    public  SubStepDefinitionParser(final SyntaxErrorReporter syntaxErrorReporter);
    public  SubStepDefinitionParser(final boolean failOnDuplicateSubsteps, final SyntaxErrorReporter syntaxErrorReporter);

}