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!); 495var currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]); 537currentState = new CurrentState(nfaState); 563var currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]); 610currentState = new CurrentState(nfaState); 891currentState = 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; 495var currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]); 563var currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]); 737ref int posRef, ref CurrentState stateRef, ref int endPosRef) 745CurrentState state = stateRef; 804ref int posRef, ref CurrentState state, ref int endPosRef) 861private int FindStartPosition<TInputReader, TNullabilityHandler>(CurrentState startState, int initialLastStart, ReadOnlySpan<char> input, int i, int matchStartBoundary, PerThreadData perThreadData) 868CurrentState currentState = startState; 904ReadOnlySpan<char> input, ref int i, int startThreshold, ref CurrentState stateRef, ref int lastStart) 910CurrentState state = stateRef; 953private bool FindStartPositionDeltasNFA<TInputReader, TNullabilityHandler>(ReadOnlySpan<char> input, ref int i, int startThreshold, ref CurrentState state, ref int lastStart) 1253/// <summary>Represents a set of routines for operating over a <see cref="CurrentState"/>.</summary> 1256public static abstract bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, uint nextCharKind); 1257public static abstract StateFlags GetStateFlags(SymbolicRegexMatcher<TSet> matcher, in CurrentState state); 1260/// <summary>An <see cref="IStateHandler"/> for operating over <see cref="CurrentState"/> instances configured as DFA states.</summary> 1264public static bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, uint nextCharKind) => 1306public static StateFlags GetStateFlags(SymbolicRegexMatcher<TSet> matcher, in CurrentState state) => 1310/// <summary>An <see cref="IStateHandler"/> for operating over <see cref="CurrentState"/> instances configured as NFA states.</summary> 1314public static bool StartsWithLineAnchor(SymbolicRegexMatcher<TSet> matcher, in CurrentState state) 1328public static bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, uint nextCharKind) 1342public static bool TryTakeTransition(SymbolicRegexMatcher<TSet> matcher, ref CurrentState state, int mintermId) 1422public static StateFlags GetStateFlags(SymbolicRegexMatcher<TSet> matcher, in CurrentState state) 1439public static void UndoTransition(ref CurrentState state) 1632SymbolicRegexMatcher<TSet> matcher, in CurrentState state, int positionId) 1641public static bool IsNullableAt<TStateHandler>(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, int positionId) 1656public static bool IsNullableAt<TStateHandler>(SymbolicRegexMatcher<TSet> matcher, in CurrentState state, int positionId)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (1)
75CurrentState statesWrapper = new(states);