1 write to Id
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
258
state.
Id
= _stateCache.Count;
25 references to Id
System.Text.RegularExpressions (25)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (10)
137
return _dfaDelta.AsSpan(state.
Id
<< _mintermsLog, numMinterms);
145
if (!_nfaIdByCoreId.TryGetValue(state.
Id
, out int nfaState))
262
if (state.
Id
== _stateArray.Length)
271
_stateArray[state.
Id
] = state;
272
_stateFlagsArray[state.
Id
] = state.BuildStateFlags(isInitialState);
273
_nullabilityArray[state.
Id
] = (byte)state.NullabilityInfo;
311
if (!_nfaIdByCoreId.TryGetValue(coreState.
Id
, out int nfaStateId))
329
_nfaCoreIdArray[nfaStateId] = coreState.
Id
;
333
_nfaIdByCoreId.Add(coreState.
Id
, nfaStateId);
377
Volatile.Write(ref _dfaDelta[offset], targetState.
Id
);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (6)
250
_deadStateId = GetOrCreateState_NoLock(_builder._nothing, 0).
Id
;
251
_initialStateId = _dotstarredInitialStates[CharKind.General].
Id
;
1234
DfaStateId = dfaState.
Id
;
1289
dfaStateId = nextState.
Id
;
1553
currentStateId = matcher._dotstarredInitialStates[matcher.GetCharKind(input, pos - 1)].
Id
;
1584
currentStateId = matcher._dotstarredInitialStates[matcher._positionKinds[GetMintermId(lookup, input[pos - 1]) + 1]].
Id
;
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Dgml.cs (6)
37
writer.WriteLine(" <Node Id=\"{0}\" Label=\"{0}\" Category=\"State\" Group=\"Collapsed\" StateInfo=\"{1}\">", state.
Id
, nodeDgmlView);
38
if (_stateFlagsArray[state.
Id
].IsInitial())
47
writer.WriteLine(" <Node Id=\"{0}info\" Label=\"{1}\" Category=\"StateInfo\"/>", state.
Id
, nodeDgmlView);
53
writer.WriteLine(" <Link Source=\"dfa\" Target=\"{0}\" Label=\"\" Category=\"StartTransition\" />", initialState.
Id
);
78
writer.WriteLine(" <Link Source=\"{0}\" Target=\"{0}info\" Category=\"Contains\" />", state.
Id
);
160
(int Source, int Target) key = (source.
Id
, targetId);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Explore.cs (3)
45
int offset = DeltaOffset(state.
Id
, mintermId);
87
int nfaOffset = DeltaOffset(_nfaIdByCoreId[state.
Id
], mintermId);
88
int[] nextNfaStates = CreateNewNfaTransition(_nfaIdByCoreId[state.
Id
], mintermId, nfaOffset);