private static object ReturnNumber(ParseTreeNode x) { decimal result = decimal.Parse(x[0].Name); return(result); }
private object ReturnExpr(ParseTreeNode x) { object result = Evaluate(x[0]); return(result); }
private static object ReturnString(ParseTreeNode x) { object result = x[0].Name; return(result); }