public static NeuOperation Execute( this NeuInterpreter interpreter, NeuExpression operand, NeuPostfixOperator op) { switch (op.OperatorType) { case NeuUnaryOperatorType.Increment: return(interpreter.PostfixIncrement(operand)); /// case NeuUnaryOperatorType.Decrement: return(interpreter.PostfixDecrement(operand)); /// default: throw new Exception(); } }
public static int GetPrecedence( this NeuPostfixOperator prefixOp) { throw new Exception(); }