public void Encode(ASTMagnitude node)
 {
     if (node.Exponent == -1)
     {
         m_stack.Push(m_senselessExpr);
     }
     else
     {
         Magnitude m = (Magnitude)node.Exponent;
         m_stack.Push(new SenseExpr(new Dimension(m), String.Format("Dimension.{0}", m.ToString())));
     }
 }
 public void Encode(ASTMagnitude node)
 {
     m_stack.Push(new NumExpr(true, m_numtype.One, m_numtype.One.CSString()));
 }