RegExpose.Regex.GetFailParseSteps C# (CSharp) Méthode

GetFailParseSteps() protected méthode

protected GetFailParseSteps ( IRegexEngine engine, State initialState, State currentState, bool skipAdvance ) : IEnumerable
engine IRegexEngine
initialState State
currentState State
skipAdvance bool
Résultat IEnumerable
        protected override IEnumerable<ParseStep> GetFailParseSteps(IRegexEngine engine, State initialState, State currentState, bool skipAdvance)
        {
            yield return ParseStep.Fail(this, initialState, currentState);

            if (!skipAdvance)
            {
                engine.State = initialState.Advance();
                yield return ParseStep.AdvanceIndex(this, engine.State);
            }
        }