1 write to RuleRef
System.Speech (1)
Internal\SrgsCompiler\BackEnd.cs (1)
616
newArc.
RuleRef
= refRule;
21 references to RuleRef
System.Speech (21)
Internal\SrgsCompiler\BackEnd.cs (8)
574
if (arc.
RuleRef
!= null)
579
if (arc.
RuleRef
.Name.StartsWith("URL:DYNAMIC#", StringComparison.Ordinal))
581
ruleName = arc.
RuleRef
.Name.Substring(12);
592
else if (arc.
RuleRef
.Name.StartsWith("URL:STATIC#", StringComparison.Ordinal))
594
ruleName = arc.
RuleRef
.Name.Substring(11);
607
ruleName = arc.
RuleRef
.Name;
611
CloneSubGraph(arc.
RuleRef
, org, extra, srcToDestHash, true);
615
refRule ??= CloneState(arc.
RuleRef
._firstState!, CloneStack, srcToDestHash);
Internal\SrgsCompiler\Graph.cs (2)
798
return (start.
RuleRef
== null) && (end.
RuleRef
== null) && (end.SpecialTransitionIndex == 0);
Internal\SrgsCompiler\ParseElementCollection.cs (1)
27
if (_endArc != null && _endArc.
RuleRef
!= null)
Internal\SrgsCompiler\State.cs (10)
207
if (arc.
RuleRef
!= null)
209
arc.
RuleRef
.CheckForExitPath(ref iRecursiveDepth);
210
if (arc.
RuleRef
._fHasExitPath)
257
if (arc.
RuleRef
!= null && arc.
RuleRef
._firstState != null)
259
State pRuleFirstNode = arc.
RuleRef
._firstState;
268
fRuleReachedEndState = arc.
RuleRef
._fIsEpsilonRule;
273
if (fRuleReachedEndState || ((arc.
RuleRef
== null) && (arc.WordId == 0) && arc.WordId == 0))
409
int diff = (arc1 != null ? (arc1.
RuleRef
!= null ? 0x1000000 : 0) + arc1.WordId : state1._iSerialize) - (arc2 != null ? (arc2.
RuleRef
!= null ? 0x1000000 : 0) + arc2.WordId : state2._iSerialize);