Alexandria.Engines.GoldBox.Resources.ScriptInstruction.IsCompoundOperandCode C# (CSharp) Method

IsCompoundOperandCode() static private method

static private IsCompoundOperandCode ( ScriptArgument value ) : bool
value ScriptArgument
return bool
        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();
            }
        }