Esempio n. 1
0
        private bool Recognize()
        {
            var tokenRecognized = Chart.Count > Location + 1;

            if (!tokenRecognized)
            {
                return(false);
            }

            Location++;
            ReductionPass(Location);

            NodeSet.Clear();
            return(true);
        }
Esempio n. 2
0
 internal void Clear()
 {
     NodeSet.Clear();
     Conditions.Clear();
     Addins.Clear();
 }