7 writes to _firstState
System.Speech (7)
Internal\SrgsCompiler\BackEnd.cs (2)
1103rule._firstState = _states.CreateNewState(rule); 1171dstRule._firstState = newState;
Internal\SrgsCompiler\Graph.cs (1)
185srcState.Rule._firstState = destState;
Internal\SrgsCompiler\Rule.cs (4)
32_firstState = null; 158_firstState = _backend.CreateNewState(this); 169_firstState = _startArc.End; 176_firstState = _backend.CreateNewState(this);
24 references to _firstState
System.Speech (24)
Internal\SrgsCompiler\BackEnd.cs (5)
528System.Diagnostics.Debug.Assert(rule._firstState != null); 535CloneState(rule._firstState, CloneStack, srcToDestHash); 615refRule ??= CloneState(arc.RuleRef._firstState!, CloneStack, srcToDestHash); 1122rule._firstState.SerializeId = (int)cfgRule.FirstArcIndex; 1123apStateTable[firstArc] = rule._firstState;
Internal\SrgsCompiler\Graph.cs (5)
182if (srcState.Rule._firstState == srcState) // Update RuleInitialState reference, if necessary 296if (state.InArcs.CountIsOne && state.InArcs.First.IsEpsilonTransition && (state != state.Rule._firstState)) 325else if ((state.OutArcs.CountIsOne) && state.OutArcs.First.IsEpsilonTransition && (state != state.Rule._firstState)) 333if (!((state == state.Rule._firstState) && (epsilonArc.End == null)) && MoveSemanticTagLeft(epsilonArc)) 673if ((duplicatedEndState != duplicatedEndState.Rule._firstState) && MoveSemanticTagRight(duplicatedArc))
Internal\SrgsCompiler\Rule.cs (8)
88if (_firstState != null && _firstState.NumArcs != 0) 90_firstState.CheckExitPath(ref iRecursiveDepth); 98if ((!_cfgRule.Dynamic) && (!_cfgRule.Import) && _id != "VOID" && _firstState!.NumArcs == 0) 145_cfgRule.FirstArcIndex = _firstState != null && !_firstState.OutArcs.IsEmpty ? (uint)_firstState.SerializeId : 0; 179_startArc.Start = _firstState;
Internal\SrgsCompiler\State.cs (6)
257if (arc.RuleRef != null && arc.RuleRef._firstState != null) 259State pRuleFirstNode = arc.RuleRef._firstState; 287if ((_rule._firstState == this) && fReachedEndState) 396int isNode1FirstNode = (state1._rule._firstState == state1) ? -1 : 0; 397int isNode2FirstNode = (state2._rule._firstState == state2) ? -1 : 0; 424if (_rule != null && _rule._firstState == this)