Example #1
0
 public override void Visit(INumberToken t)
 {
     if (m_edgesCurrent.Execute(t))
     {
         m_edgesCurrent = m_edgesNumber;
     }
     else
     {
         ThrowException(t);
     }
 }
Example #2
0
        public override void Visit(INumberToken t)
        {
            double number = double.Parse(t.ToString());

            m_nodes.Push(new NumberLeaf(number));
        }
Example #3
0
 public virtual void Visit(INumberToken t)
 {
 }
Example #4
0
 public override void Visit(INumberToken t)
 {
     m_resultTokens.Add(t);
 }