class SyntaxAwareStepValidator implements StepValidator {

    @Override
    public void validateSubstep(final ParentStep substep, final SyntaxErrorReporter syntaxErrorReporter) {
        final List<Step> steps = substep.getSteps();
        if (steps != null) {
            for (final Step step : steps) {
                validate(step, new File(substep.getSubStepFileUri()), syntaxErrorReporter);
            }
        }
    }

    public  SyntaxAwareStepValidator(final Syntax syntax);

}