8 instantiations of CurrentState
System.Text.RegularExpressions (8)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (7)
428
reversalStartState = new
CurrentState
(_reverseInitialStates[GetCharKind(input, matchEnd)]);
434
reversalStartState = new
CurrentState
(_optimizedReversalInfo.AdjustedStartState!);
495
var currentState = new
CurrentState
(_dotstarredInitialStates[GetCharKind(input, pos - 1)]);
537
currentState = new
CurrentState
(nfaState);
563
var currentState = new
CurrentState
(_dotstarredInitialStates[GetCharKind(input, pos - 1)]);
610
currentState = new
CurrentState
(nfaState);
891
currentState = new
CurrentState
(nfaState);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (1)
75
CurrentState statesWrapper =
new
(states);
27 references to CurrentState
System.Text.RegularExpressions (27)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (26)
423
CurrentState
reversalStartState;
495
var
currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]);
563
var
currentState = new CurrentState(_dotstarredInitialStates[GetCharKind(input, pos - 1)]);
737
ref int posRef, ref
CurrentState
stateRef, ref int endPosRef)
745
CurrentState
state = stateRef;
804
ref int posRef, ref
CurrentState
state, ref int endPosRef)
861
private int FindStartPosition<TInputReader, TNullabilityHandler>(
CurrentState
startState, int initialLastStart, ReadOnlySpan<char> input, int i, int matchStartBoundary, PerThreadData perThreadData)
868
CurrentState
currentState = startState;
904
ReadOnlySpan<char> input, ref int i, int startThreshold, ref
CurrentState
stateRef, ref int lastStart)
910
CurrentState
state = stateRef;
953
private 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>
1256
public static abstract bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in
CurrentState
state, uint nextCharKind);
1257
public 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>
1264
public static bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in
CurrentState
state, uint nextCharKind) =>
1306
public 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>
1314
public static bool StartsWithLineAnchor(SymbolicRegexMatcher<TSet> matcher, in
CurrentState
state)
1328
public static bool IsNullableFor(SymbolicRegexMatcher<TSet> matcher, in
CurrentState
state, uint nextCharKind)
1342
public static bool TryTakeTransition(SymbolicRegexMatcher<TSet> matcher, ref
CurrentState
state, int mintermId)
1422
public static StateFlags GetStateFlags(SymbolicRegexMatcher<TSet> matcher, in
CurrentState
state)
1439
public static void UndoTransition(ref
CurrentState
state)
1632
SymbolicRegexMatcher<TSet> matcher, in
CurrentState
state, int positionId)
1641
public static bool IsNullableAt<TStateHandler>(SymbolicRegexMatcher<TSet> matcher, in
CurrentState
state, int positionId)
1656
public static bool IsNullableAt<TStateHandler>(SymbolicRegexMatcher<TSet> matcher, in
CurrentState
state, int positionId)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (1)
75
CurrentState
statesWrapper = new(states);