3 instantiations of SymbolicRegexInfo
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Symbolic\SymbolicRegexInfo.cs (3)
39
return new
SymbolicRegexInfo
(
158
return new
SymbolicRegexInfo
(i);
161
public static SymbolicRegexInfo Effect(SymbolicRegexInfo childInfo) => new
SymbolicRegexInfo
(childInfo._info | ContainsEffectMask);
31 references to SymbolicRegexInfo
System.Text.RegularExpressions (31)
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (3)
74
TSet set,
SymbolicRegexInfo
info) : IEquatable<NodeCacheKey>
82
public readonly
SymbolicRegexInfo
Info = info;
97
EqualityComparer<
SymbolicRegexInfo
>.Default.Equals(Info, other.Info);
System\Text\RegularExpressions\Symbolic\SymbolicRegexInfo.cs (16)
9
internal readonly struct SymbolicRegexInfo : IEquatable<
SymbolicRegexInfo
>
26
private static
SymbolicRegexInfo
Create(
73
public static
SymbolicRegexInfo
Epsilon() =>
84
public static
SymbolicRegexInfo
Anchor(bool isLineAnchor, bool isEndZAnchor) =>
98
public static
SymbolicRegexInfo
Alternate(
SymbolicRegexInfo
left_info,
SymbolicRegexInfo
right_info) =>
115
public static
SymbolicRegexInfo
Concat(
SymbolicRegexInfo
left_info,
SymbolicRegexInfo
right_info) =>
133
public static
SymbolicRegexInfo
Loop(
SymbolicRegexInfo
body_info, int lowerBound, bool isLazy)
161
public static
SymbolicRegexInfo
Effect(
SymbolicRegexInfo
childInfo) => new SymbolicRegexInfo(childInfo._info | ContainsEffectMask);
163
public override bool Equals(object? obj) => obj is
SymbolicRegexInfo
i && Equals(i);
165
public bool Equals(
SymbolicRegexInfo
other) => _info == other._info;
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (12)
41
internal readonly
SymbolicRegexInfo
_info;
62
private SymbolicRegexNode(SymbolicRegexBuilder<TSet> builder, SymbolicRegexNodeKind kind, SymbolicRegexNode<TSet>? left, SymbolicRegexNode<TSet>? right, int lower, int upper, TSet set,
SymbolicRegexInfo
info)
78
private static SymbolicRegexNode<TSet> Create(SymbolicRegexBuilder<TSet> builder, SymbolicRegexNodeKind kind, SymbolicRegexNode<TSet>? left, SymbolicRegexNode<TSet>? right, int lower, int upper, TSet? set,
SymbolicRegexInfo
info)
385
Create(builder, SymbolicRegexNodeKind.FixedLengthMarker, null, null, length, -1, default,
SymbolicRegexInfo
.Epsilon());
388
Create(builder, SymbolicRegexNodeKind.Epsilon, null, null, -1, -1, default,
SymbolicRegexInfo
.Epsilon());
399
SymbolicRegexInfo
.Anchor(
419
return Create(builder, SymbolicRegexNodeKind.Loop, body, null, lower, upper, default,
SymbolicRegexInfo
.Loop(body._info, lower, isLazy));
436
return Create(builder, SymbolicRegexNodeKind.Effect, node, effectNode, -1, -1, default,
SymbolicRegexInfo
.Effect(node._info));
440
Create(builder, SymbolicRegexNodeKind.CaptureStart, null, null, captureNum, -1, default,
SymbolicRegexInfo
.Epsilon());
443
Create(builder, SymbolicRegexNodeKind.CaptureEnd, null, null, captureNum, -1, default,
SymbolicRegexInfo
.Epsilon());
469
return Create(builder, SymbolicRegexNodeKind.Concat, left, right, -1, -1, default,
SymbolicRegexInfo
.Concat(left._info, right._info));
586
return Create(builder, SymbolicRegexNodeKind.Alternate, left, right, -1, -1, default,
SymbolicRegexInfo
.Alternate(left._info, right._info));