8 instantiations of CurrentState
System.Text.RegularExpressions (8)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (7)
428reversalStartState = new CurrentState(_reverseInitialStates[GetCharKind(input, matchEnd)]); 434reversalStartState = new CurrentState(_optimizedReversalInfo.AdjustedStartState!); 493var currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]); 535currentState = new CurrentState(nfaState); 561var currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]); 608currentState = new CurrentState(nfaState); 889currentState = new CurrentState(nfaState);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (1)
75CurrentState statesWrapper = new(states);
27 references to CurrentState
System.Text.RegularExpressions (27)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (26)
423CurrentState reversalStartState; 493var currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]); 561var currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]); 735ref int posRef, ref CurrentState stateRef, ref int endPosRef) 743CurrentState state = stateRef; 802ref int posRef, ref CurrentState state, ref int endPosRef) 859private int FindStartPosition<TInputReader, TNullabilityHandler>(CurrentState startState, int initialLastStart, ReadOnlySpan<char> input, int i, int matchStartBoundary, PerThreadData perThreadData) 866CurrentState currentState = startState; 902ReadOnlySpan<char> input, ref int i, int startThreshold, ref CurrentState stateRef, ref int lastStart) 908CurrentState state = stateRef; 951private bool FindStartPositionDeltasNFA<TInputReader, TNullabilityHandler>(ReadOnlySpan<char> input, ref int i, int startThreshold, ref CurrentState state, ref int lastStart) 1251/// <summary>Represents a set of routines for operating over a <see cref="CurrentState"/>.</summary> 1254public static abstract bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, uint nextCharKind); 1255public static abstract StateFlags GetStateFlags(SymbolicRegexMatcher<TSet> matcher, in CurrentState state); 1258/// <summary>An <see cref="IStateHandler"/> for operating over <see cref="CurrentState"/> instances configured as DFA states.</summary> 1262public static bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, uint nextCharKind) => 1304public static StateFlags GetStateFlags(SymbolicRegexMatcher<TSet> matcher, in CurrentState state) => 1308/// <summary>An <see cref="IStateHandler"/> for operating over <see cref="CurrentState"/> instances configured as NFA states.</summary> 1312public static bool StartsWithLineAnchor(SymbolicRegexMatcher<TSet> matcher, in CurrentState state) 1326public static bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, uint nextCharKind) 1340public static bool TryTakeTransition(SymbolicRegexMatcher<TSet> matcher, ref CurrentState state, int mintermId) 1420public static StateFlags GetStateFlags(SymbolicRegexMatcher<TSet> matcher, in CurrentState state) 1437public static void UndoTransition(ref CurrentState state) 1630SymbolicRegexMatcher<TSet> matcher, in CurrentState state, int positionId) 1639public static bool IsNullableAt<TStateHandler>(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, int positionId) 1654public static bool IsNullableAt<TStateHandler>(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, int positionId)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (1)
75CurrentState statesWrapper = new(states);