1 instantiation of SymbolicRegexMatcher
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
165
return new
SymbolicRegexMatcher
<TSet>(builder, rootNode, captureCount, findOptimizations, matchTimeout);
39 references to SymbolicRegexMatcher
System.Text.RegularExpressions (39)
System\Text\RegularExpressions\Symbolic\MatchingState.cs (2)
24
/// The kind of the previous character in the input. The <see cref="
SymbolicRegexMatcher
{TSet}"/> is responsible
43
/// A unique identifier for this state, which is used in <see cref="
SymbolicRegexMatcher
{TSet}"/> to index into
System\Text\RegularExpressions\Symbolic\StateFlags.cs (2)
8
/// conditions in the inner matching loops of <see cref="
SymbolicRegexMatcher
{TSet}"/>. The matcher caches one of these
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 (27)
141
/// <summary>Creates a new <see cref="
SymbolicRegexMatcher
{TSetType}"/>.</summary>
148
public static
SymbolicRegexMatcher
<TSet> Create(
1218
public void InitializeFrom(
SymbolicRegexMatcher
<TSet> matcher, MatchingState<TSet> dfaMatchingState)
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);
1264
public static bool IsNullableFor(
SymbolicRegexMatcher
<TSet> matcher, in CurrentState state, uint nextCharKind) =>
1270
public static bool TryTakeTransition(
SymbolicRegexMatcher
<TSet> matcher, ref int dfaStateId, int mintermId, long timeoutOccursAt = 0)
1306
public static StateFlags GetStateFlags(
SymbolicRegexMatcher
<TSet> matcher, in CurrentState state) =>
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)
1397
static int[] GetNextStates(int sourceState, int mintermId,
SymbolicRegexMatcher
<TSet> matcher)
1422
public static StateFlags GetStateFlags(
SymbolicRegexMatcher
<TSet> matcher, in CurrentState state)
1472
public static abstract int GetPositionId(
SymbolicRegexMatcher
<TSet> matcher, ReadOnlySpan<char> input, int pos);
1482
public static int GetPositionId(
SymbolicRegexMatcher
<TSet> matcher, ReadOnlySpan<char> input, int pos)
1501
public static int GetPositionId(
SymbolicRegexMatcher
<TSet> matcher, ReadOnlySpan<char> input, int pos) =>
1521
SymbolicRegexMatcher
<TSet> matcher, ReadOnlySpan<char> input, ref int currentStateId, ref int pos, byte[]? lookup);
1532
SymbolicRegexMatcher
<TSet> matcher, ReadOnlySpan<char> input, ref int currentStateId, ref int pos, byte[]? lookup) =>
1546
SymbolicRegexMatcher
<TSet> matcher, ReadOnlySpan<char> input, ref int currentStateId, ref int pos, byte[]? lookup)
1577
SymbolicRegexMatcher
<TSet> matcher, ReadOnlySpan<char> input, ref int currentStateId, ref int pos, byte[]? lookup)
1608
SymbolicRegexMatcher
<TSet> matcher, ReadOnlySpan<char> input, ref int currentStateId, ref int pos, byte[]? lookup)
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)
1668
public static abstract bool IsNullable(
SymbolicRegexMatcher
<TSet> matcher, byte stateNullability, char c, byte[] lookup);
1676
public static bool IsNullable(
SymbolicRegexMatcher
<TSet> matcher, byte stateNullability, char c, byte[] lookup) =>
1686
public static bool IsNullable(
SymbolicRegexMatcher
<TSet> matcher, byte stateNullability, char c, byte[] lookup)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (1)
1242
/// specific input position to <see cref="
SymbolicRegexMatcher
{TSet}.Registers"/> instances, which track concrete
System\Text\RegularExpressions\Symbolic\SymbolicRegexRunnerFactory.cs (7)
43
SymbolicRegexMatcher
<BitVector>.Create(regexTree.CaptureCount, regexTree.FindOptimizations, bddBuilder, rootNode, new BitVectorSolver(minterms), matchTimeout) :
44
SymbolicRegexMatcher
<ulong>.Create(regexTree.CaptureCount, regexTree.FindOptimizations, bddBuilder, rootNode, new UInt64Solver(minterms), matchTimeout);
48
protected internal override RegexRunner CreateInstance() => _matcher is
SymbolicRegexMatcher
<ulong> srmUInt64 ?
50
new Runner<BitVector>((
SymbolicRegexMatcher
<BitVector>)_matcher);
62
private readonly
SymbolicRegexMatcher
<TSet> _matcher;
65
private readonly
SymbolicRegexMatcher
<TSet>.PerThreadData _perThreadData;
67
internal Runner(
SymbolicRegexMatcher
<TSet> matcher)