Sha256: a40afd2e90cb7c2f9926d586b9a7e8f603307fb8d0b951b79a47c411895d7d86

Contents?: true

Size: 795 Bytes

Versions: 66

Compression:

Stored size: 795 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Type param: `A`, `unchecked out A`, ...",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "variance": {
      "enum": ["covariant", "contravariant", "invariant"]
    },
    "unchecked": {
      "type": "boolean"
    },
    "upper_bound": {
      "oneOf": [
        {
          "$ref": "types.json#/definitions/classInstance"
        },
        {
          "$ref": "types.json#/definitions/classSingleton"
        },
        {
          "$ref": "types.json#/definitions/interface"
        },
        {
          "type": "null"
        }
      ]
    },
    "location": {
      "$ref": "location.json"
    }
  },
  "required": ["name", "variance", "unchecked", "upper_bound", "location"]
}

Version data entries

66 entries across 66 versions & 2 rubygems

Version Path
rbs-3.0.2 schema/typeParam.json
rbs-3.0.1 schema/typeParam.json
rbs-3.0.0 schema/typeParam.json
rbs-3.0.0.dev.3 schema/typeParam.json
rbs-3.0.0.dev.2 schema/typeParam.json
rbs-2.8.4 schema/typeParam.json
rbs-2.8.3 schema/typeParam.json
rbs-3.0.0.dev.1 schema/typeParam.json
rbs-2.8.2 schema/typeParam.json
rbs-2.8.1 schema/typeParam.json
rbs-2.8.0 schema/typeParam.json
rbs-2.8.0.pre.1 schema/typeParam.json
rbs-2.7.0 schema/typeParam.json
rbs-2.7.0.pre.3 schema/typeParam.json
rbs-2.7.0.pre.2 schema/typeParam.json
rbs-2.7.0.pre.1 schema/typeParam.json
rbs-2.6.0 schema/typeParam.json
rbs-2.5.1 schema/typeParam.json
rbs-2.5.0 schema/typeParam.json
rbs-2.4.0 schema/typeParam.json