18 references to IsEpsilonTransition
System.Speech (18)
Internal\SrgsCompiler\Graph.cs (2)
296
if (state.InArcs.CountIsOne && state.InArcs.First.
IsEpsilonTransition
&& (state != state.Rule._firstState))
325
else if ((state.OutArcs.CountIsOne) && state.OutArcs.First.
IsEpsilonTransition
&& (state != state.Rule._firstState))
Internal\SrgsCompiler\Item.cs (3)
36
if (_maxRepeat != _minRepeat && _startArc != null && _startArc == _endArc && _endArc.
IsEpsilonTransition
&& !_endArc.IsPropertylessTransition)
119
if (_minRepeat == 0 && (_startArc != _endArc || !_startArc.
IsEpsilonTransition
))
122
if (!_endArc.
IsEpsilonTransition
|| _endArc.SemanticTagCount > 0)
Internal\SrgsCompiler\OneOf.cs (2)
76
if (start.
IsEpsilonTransition
&& start.IsPropertylessTransition && startEndState != null && startEndState.InArcs.IsEmpty)
88
if (end.
IsEpsilonTransition
&& end.IsPropertylessTransition && endStartState != null && endStartState.OutArcs.IsEmpty)
Internal\SrgsCompiler\ParseElementCollection.cs (9)
61
if (arc.
IsEpsilonTransition
)
102
for (State? startState = startArc.End; startArc.
IsEpsilonTransition
&& startState != null && Graph.MoveSemanticTagRight(startArc) && startState.InArcs.CountIsOne && startState.OutArcs.CountIsOne; startState = startArc.End)
135
for (State? endState = endArc.Start; endArc.
IsEpsilonTransition
&& endState != null && Graph.MoveSemanticTagLeft(endArc) && endState.InArcs.CountIsOne && endState.OutArcs.CountIsOne; endState = endArc.Start)
187
if (_endArc!.
IsEpsilonTransition
&& start.
IsEpsilonTransition
)
193
if (start.
IsEpsilonTransition
)
198
if (_endArc.
IsEpsilonTransition
)
242
if (_endArc.
IsEpsilonTransition
&& Graph.CanTagsBeMoved(_endArc, start))
265
if (start.
IsEpsilonTransition
&& Graph.CanTagsBeMoved(start, _endArc))
Internal\SrgsCompiler\Rule.cs (2)
166
if (_startArc!.
IsEpsilonTransition
&& _startArc.End != null && Graph.MoveSemanticTagRight(_startArc))
249
if (endArc.
IsEpsilonTransition
&& endState.OutArcs.CountIsOne && Graph.MoveSemanticTagLeft(endArc))