1 write to _info
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (1)
70
_info
= info;
37 references to _info
System.Text.RegularExpressions (37)
System\Text\RegularExpressions\Symbolic\MatchingState.cs (1)
65
internal bool StartsWithLineAnchor => Node.
_info
.StartsWithLineAnchor;
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
187
if (node.
_info
.ContainsSomeAnchor)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (7)
218
int statesCount = _pattern.
_info
.ContainsSomeAnchor ? CharKind.CharKindCount : 1;
224
_containsAnyAnchor = _pattern.
_info
.ContainsSomeAnchor;
225
_containsEndZAnchor = _pattern.
_info
.ContainsEndZAnchor;
269
if (_pattern.
_info
.ContainsSomeAnchor)
334
!_pattern.
_info
.ContainsSomeAnchor ?
1657
Debug.Assert(!matcher._pattern.
_info
.ContainsSomeAnchor);
1686
Debug.Assert(!matcher._pattern.
_info
.ContainsSomeAnchor);
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (28)
92
internal bool IsLazy =>
_info
.IsLazyLoop;
95
internal bool IsHighPriorityNullable =>
_info
.IsHighPriorityNullable;
98
internal bool IsHighPriorityNullableFor(uint context) =>
_info
.CanBeNullable && IsHighPriorityNullableFor(this, context);
116
if (node.
_info
.IsHighPriorityNullable || !node.
_info
.ContainsSomeAnchor)
118
return node.
_info
.IsHighPriorityNullable;
125
return node.
_info
.IsLazyLoop && node._lower == 0;
144
if (!node._left.
_info
.CanBeNullable)
167
internal bool IsNullable =>
_info
.IsNullable;
174
Debug.Assert(
_info
.CanBeNullable || !
_info
.IsNullable);
175
return
_info
.CanBeNullable;
232
_info
.IsNullable :
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
));
446
Create(builder, SymbolicRegexNodeKind.DisableBacktrackingSimulation, child, null, -1, -1, default, child.
_info
);
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
));
1372
if (!
_info
.ContainsEffect)
1385
Debug.Assert(_left.
_info
.ContainsEffect && !_right.
_info
.ContainsEffect);
1439
if (!
_info
.ContainsEffect)
1464
Debug.Assert(_left.
_info
.ContainsEffect && !_right.
_info
.ContainsEffect);
2087
if (!
_info
.StartsWithSomeAnchor)
2259
internal int EstimateNfaSize() => Times(
_info
.ContainsSomeAnchor ? CharKind.CharKindCount : 1, Sum(1, CountSingletons()));