13 references to NfaStateHandler
System.Text.RegularExpressions (13)
System\Text\RegularExpressions\Symbolic\StateFlags.cs (1)
10/// In DFA mode the cached flags are used directly, while in NFA mode the <see cref="SymbolicRegexMatcher{TSet}.NfaStateHandler"/>
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (4)
819if (TNullabilityHandler.IsNullableAt<NfaStateHandler>(this, in state, positionId)) 830if (pos >= length || !NfaStateHandler.TryTakeTransition(this, ref state, positionId)) 968if (TNullabilityHandler.IsNullableAt<NfaStateHandler>(this, in state, positionId)) 982if (!NfaStateHandler.TryTakeTransition(this, ref state, positionId))
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (8)
95StateFlags flags = SymbolicRegexMatcher<TSet>.NfaStateHandler.GetStateFlags(this, in statesWrapper); 99if (flags.IsNullable() || SymbolicRegexMatcher<TSet>.NfaStateHandler.IsNullableFor(this, in statesWrapper, CharKind.BeginningEnd)) 105if (SymbolicRegexMatcher<TSet>.NfaStateHandler.IsNullableFor(this, in statesWrapper, CharKind.Newline)) 111if (SymbolicRegexMatcher<TSet>.NfaStateHandler.IsNullableFor(this, in statesWrapper, CharKind.WordLetter)) 117if (SymbolicRegexMatcher<TSet>.NfaStateHandler.IsNullableFor(this, in statesWrapper, CharKind.General)) 141int[] mintermIds = SymbolicRegexMatcher<TSet>.NfaStateHandler.StartsWithLineAnchor(this, in statesWrapper) ? 147bool success = SymbolicRegexMatcher<TSet>.NfaStateHandler.TryTakeTransition(this, ref statesWrapper, mintermId); 160NfaStateHandler.UndoTransition(ref statesWrapper);