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)
817if (TNullabilityHandler.IsNullableAt<NfaStateHandler>(this, in state, positionId)) 828if (pos >= length || !NfaStateHandler.TryTakeTransition(this, ref state, positionId)) 966if (TNullabilityHandler.IsNullableAt<NfaStateHandler>(this, in state, positionId)) 980if (!NfaStateHandler.TryTakeTransition(this, ref state, positionId))
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (8)
86StateFlags flags = SymbolicRegexMatcher<TSet>.NfaStateHandler.GetStateFlags(this, in statesWrapper); 90if (flags.IsNullable() || SymbolicRegexMatcher<TSet>.NfaStateHandler.IsNullableFor(this, in statesWrapper, CharKind.BeginningEnd)) 96if (SymbolicRegexMatcher<TSet>.NfaStateHandler.IsNullableFor(this, in statesWrapper, CharKind.Newline)) 102if (SymbolicRegexMatcher<TSet>.NfaStateHandler.IsNullableFor(this, in statesWrapper, CharKind.WordLetter)) 108if (SymbolicRegexMatcher<TSet>.NfaStateHandler.IsNullableFor(this, in statesWrapper, CharKind.General)) 132int[] mintermIds = SymbolicRegexMatcher<TSet>.NfaStateHandler.StartsWithLineAnchor(this, in statesWrapper) ? 137bool success = SymbolicRegexMatcher<TSet>.NfaStateHandler.TryTakeTransition(this, ref statesWrapper, mintermId); 149NfaStateHandler.UndoTransition(ref statesWrapper);