Example #1
0
		/////////////////////////////////////////////////////////////////////////////

		public object Evaluate( IMacro macro, Expression exp )
		{
			DisplayExpression dumper = new DisplayExpression();
			return dumper.Dump( exp );
		}
Example #2
0
		/////////////////////////////////////////////////////////////////////////////

		public override string DumpCompoundExpression( CompoundExpression exp )
		{
			// ******
			string typeName = "ExpressionList";

			// ******
			DisplayExpression de = new DisplayExpression();
			string value = de.Dump( exp );

			// ******
			return string.Format( " ({0}) {1}", typeName, value );
		}