static bool IsCompoundOperandCode(ScriptArgument value)
{
switch (value) {
case ScriptArgument.Address:
case ScriptArgument.Literal:
case ScriptArgument.Opcode:
case ScriptArgument.String:
case ScriptArgument.Value:
case ScriptArgument.ValueOrVariable:
case ScriptArgument.Variable:
case ScriptArgument.Comparison:
return false;
case ScriptArgument.Array:
case ScriptArgument.Optional:
return false;
case ScriptArgument.None:
throw new ArgumentException("value");
default:
throw new NotImplementedException();
}
}