24 references to _info
System.Text.RegularExpressions (24)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
188
if (nodeContext.
_info
.ContainsSomeAnchor)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (1)
188
SymbolicRegexInfo patternInfo = builder.GetNodeContext(_pattern).
_info
;
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (22)
229
internal bool IsLazy =>
_info
.IsLazyLoop;
232
internal bool IsHighPriorityNullable =>
_info
.IsHighPriorityNullable;
235
internal bool IsHighPriorityNullableFor(uint context) =>
_info
.CanBeNullable && IsHighPriorityNullableFor(this, context);
311
internal bool IsNullable =>
_info
.IsNullable;
318
Debug.Assert(
_info
.CanBeNullable || !
_info
.IsNullable);
319
return
_info
.CanBeNullable;
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
));
603
Create(builder, SymbolicRegexNodeKind.DisableBacktrackingSimulation, child, default, -1, -1, default, builder.GetNodeContext(child).
_info
);
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
));
1549
if (!
_info
.ContainsEffect)
1572
Debug.Assert(_left.
_info
.ContainsEffect && !_right.
_info
.ContainsEffect);
1638
if (!
_info
.ContainsEffect)
1663
Debug.Assert(_left.
_info
.ContainsEffect && !_right.
_info
.ContainsEffect);
2306
if (!
_info
.StartsWithSomeAnchor)
2437
internal int EstimateNfaSize() => Times(
_info
.ContainsSomeAnchor ? CharKind.CharKindCount : 1, Sum(1, CountSingletons()));