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);
37 references to SymbolicRegexInfo
System.Text.RegularExpressions (37)
System\Text\RegularExpressions\Symbolic\MatchingState.cs (1)
171
SymbolicRegexInfo
info = node.Data.Info;
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (8)
63
int lower, int upper, TSet set,
SymbolicRegexInfo
info)
71
internal readonly
SymbolicRegexInfo
Info = info;
74
/// when <see cref="
SymbolicRegexInfo
.StartsWithSomeAnchor"/> and <see cref="
SymbolicRegexInfo
.CanBeNullable"/> are true.
96
TSet set,
SymbolicRegexInfo
info) : IEquatable<NodeCacheKey>
104
public readonly
SymbolicRegexInfo
Info = info;
119
EqualityComparer<
SymbolicRegexInfo
>.Default.Equals(Info, other.Info);
188
internal int AddNode(SymbolicRegexNodeKind kind, int leftId, int rightId, int lower, int upper, TSet set,
SymbolicRegexInfo
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\SymbolicRegexMatcher.cs (1)
188
SymbolicRegexInfo
patternInfo = builder.GetNodeContext(_pattern)._info;
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (11)
186
internal
SymbolicRegexInfo
_info => Data.Info;
213
private static SymbolicRegexNode<TSet> Create(SymbolicRegexBuilder<TSet> builder, SymbolicRegexNodeKind kind, SymbolicRegexNode<TSet> left, SymbolicRegexNode<TSet> right, int lower, int upper, TSet? set,
SymbolicRegexInfo
info)
540
Create(builder, SymbolicRegexNodeKind.FixedLengthMarker, default, default, length, -1, default,
SymbolicRegexInfo
.Epsilon());
543
Create(builder, SymbolicRegexNodeKind.Epsilon, default, default, -1, -1, default,
SymbolicRegexInfo
.Epsilon());
554
SymbolicRegexInfo
.Anchor(
575
return Create(builder, SymbolicRegexNodeKind.Loop, body, default, lower, upper, default,
SymbolicRegexInfo
.Loop(bodyContext._info, lower, isLazy));
593
return Create(builder, SymbolicRegexNodeKind.Effect, node, effectNode, -1, -1, default,
SymbolicRegexInfo
.Effect(nodeContext._info));
597
Create(builder, SymbolicRegexNodeKind.CaptureStart, default, default, captureNum, -1, default,
SymbolicRegexInfo
.Epsilon());
600
Create(builder, SymbolicRegexNodeKind.CaptureEnd, default, default, captureNum, -1, default,
SymbolicRegexInfo
.Epsilon());
629
return Create(builder, SymbolicRegexNodeKind.Concat, left, right, -1, -1, default,
SymbolicRegexInfo
.Concat(leftContext._info, rightContext._info));
748
return Create(builder, SymbolicRegexNodeKind.Alternate, left, right, -1, -1, default,
SymbolicRegexInfo
.Alternate(leftContext._info, rightContext._info));