Antlr3.Analysis.DecisionProbe.GetSampleNonDeterministicInputSequence C# (CSharp) 메소드

GetSampleNonDeterministicInputSequence() 공개 메소드

public GetSampleNonDeterministicInputSequence ( DFAState targetState ) : IList
targetState DFAState
리턴 IList
        public virtual IList<Label> GetSampleNonDeterministicInputSequence( DFAState targetState )
        {
            HashSet<object> dfaStates = GetDFAPathStatesToTarget( targetState );
            _statesVisitedDuringSampleSequence = new HashSet<int>();
            IList<Label> labels = new List<Label>(); // may access ith element; use array
            if ( _dfa == null || _dfa.StartState == null )
            {
                return labels;
            }
            GetSampleInputSequenceUsingStateSet( _dfa.StartState,
                                                targetState,
                                                dfaStates,
                                                labels );
            return labels;
        }