3 instantiations of SymbolicRegexInfo
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Symbolic\SymbolicRegexInfo.cs (3)
39return new SymbolicRegexInfo( 158return new SymbolicRegexInfo(i); 161public 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)
171SymbolicRegexInfo info = node.Data.Info;
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (8)
63int lower, int upper, TSet set, SymbolicRegexInfo info) 71internal readonly SymbolicRegexInfo Info = info; 74/// when <see cref="SymbolicRegexInfo.StartsWithSomeAnchor"/> and <see cref="SymbolicRegexInfo.CanBeNullable"/> are true. 96TSet set, SymbolicRegexInfo info) : IEquatable<NodeCacheKey> 104public readonly SymbolicRegexInfo Info = info; 119EqualityComparer<SymbolicRegexInfo>.Default.Equals(Info, other.Info); 188internal int AddNode(SymbolicRegexNodeKind kind, int leftId, int rightId, int lower, int upper, TSet set, SymbolicRegexInfo info)
System\Text\RegularExpressions\Symbolic\SymbolicRegexInfo.cs (16)
9internal readonly struct SymbolicRegexInfo : IEquatable<SymbolicRegexInfo> 26private static SymbolicRegexInfo Create( 73public static SymbolicRegexInfo Epsilon() => 84public static SymbolicRegexInfo Anchor(bool isLineAnchor, bool isEndZAnchor) => 98public static SymbolicRegexInfo Alternate(SymbolicRegexInfo left_info, SymbolicRegexInfo right_info) => 115public static SymbolicRegexInfo Concat(SymbolicRegexInfo left_info, SymbolicRegexInfo right_info) => 133public static SymbolicRegexInfo Loop(SymbolicRegexInfo body_info, int lowerBound, bool isLazy) 161public static SymbolicRegexInfo Effect(SymbolicRegexInfo childInfo) => new SymbolicRegexInfo(childInfo._info | ContainsEffectMask); 163public override bool Equals(object? obj) => obj is SymbolicRegexInfo i && Equals(i); 165public bool Equals(SymbolicRegexInfo other) => _info == other._info;
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
188SymbolicRegexInfo patternInfo = builder.GetNodeContext(_pattern)._info;
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (11)
186internal SymbolicRegexInfo _info => Data.Info; 213private static SymbolicRegexNode<TSet> Create(SymbolicRegexBuilder<TSet> builder, SymbolicRegexNodeKind kind, SymbolicRegexNode<TSet> left, SymbolicRegexNode<TSet> right, int lower, int upper, TSet? set, SymbolicRegexInfo info) 540Create(builder, SymbolicRegexNodeKind.FixedLengthMarker, default, default, length, -1, default, SymbolicRegexInfo.Epsilon()); 543Create(builder, SymbolicRegexNodeKind.Epsilon, default, default, -1, -1, default, SymbolicRegexInfo.Epsilon()); 554SymbolicRegexInfo.Anchor( 575return Create(builder, SymbolicRegexNodeKind.Loop, body, default, lower, upper, default, SymbolicRegexInfo.Loop(bodyContext._info, lower, isLazy)); 593return Create(builder, SymbolicRegexNodeKind.Effect, node, effectNode, -1, -1, default, SymbolicRegexInfo.Effect(nodeContext._info)); 597Create(builder, SymbolicRegexNodeKind.CaptureStart, default, default, captureNum, -1, default, SymbolicRegexInfo.Epsilon()); 600Create(builder, SymbolicRegexNodeKind.CaptureEnd, default, default, captureNum, -1, default, SymbolicRegexInfo.Epsilon()); 629return Create(builder, SymbolicRegexNodeKind.Concat, left, right, -1, -1, default, SymbolicRegexInfo.Concat(leftContext._info, rightContext._info)); 748return Create(builder, SymbolicRegexNodeKind.Alternate, left, right, -1, -1, default, SymbolicRegexInfo.Alternate(leftContext._info, rightContext._info));