packages feed

hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/constants.json

{
  "name": "hydra.core.constants",
  "metadata": {"description": "A module for tier-0 constants.", "comments": [], "seeAlso": [], "provisions": []},
  "dependencies": [{"module": "hydra.core.model"}],
  "definitions": [
    {
      "term": {
        "name": "hydra.core.constants.fieldNameValue",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": "string"}}},
        "body": {
          "annotated": {
            "body": {"literal": {"string": "value"}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "The conventional field name used when normalizing a wrapped (newtype) value to a single-field record"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.ignoredVariable",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": "string"}}},
        "body": {
          "annotated": {
            "body": {"literal": {"string": "_"}},
            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The name used for ignored variables"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyClasses",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "classes"}}}},
            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Annotation key for type classes"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyDebugId",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "debugId"}}}},
            "annotation": {
              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Annotation key for debug identifiers"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyDeprecated",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "deprecated"}}}},
            "annotation": {
              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Annotation key for deprecated markers"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyDescription",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "description"}}}},
            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Annotation key for descriptions"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyExclude",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "exclude"}}}},
            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Annotation key for exclusions"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyFirstClassType",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "firstClassType"}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "A flag which tells the language coders to encode a given encoded type as a term rather than a native type"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyFreshTypeVariableCount",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "freshTypeVariableCount"}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "A counter for generating fresh type variable names"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyMaxLength",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "maxLength"}}}},
            "annotation": {
              "map": [
                {"key": {"variable": "description"}, "value": {"literal": {"string": "Annotation key for maximum length constraints"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyMinLength",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "minLength"}}}},
            "annotation": {
              "map": [
                {"key": {"variable": "description"}, "value": {"literal": {"string": "Annotation key for minimum length constraints"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyPreserveFieldName",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "preserveFieldName"}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "Annotation key for preserving field names during code generation"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.keyType",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"variable": "hydra.core.model.Name"}}},
        "body": {
          "annotated": {
            "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "type"}}}},
            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Annotation key for type information"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.maxInt32",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": {"integer": "int32"}}}},
        "body": {
          "annotated": {
            "body": {"literal": {"integer": {"int32": 2147483647}}},
            "annotation": {
              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The maximum value of a 32-bit integer"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.maxTraceDepth",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": {"integer": "int32"}}}},
        "body": {
          "annotated": {
            "body": {"literal": {"integer": {"int32": 5000}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {
                      "string": "A maximum depth for nested computations. Currently, this is set very high because deep recursion is common in type inference over the Hydra kernel."}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.regexCamelCase",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": "string"}}},
        "body": {
          "annotated": {
            "body": {"literal": {"string": "^[a-z][a-zA-Z0-9]*$"}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Regex matching a camelCase identifier: starts with a lowercase letter, then any letters or digits."}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.regexNamespace",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": "string"}}},
        "body": {
          "annotated": {
            "body": {"literal": {"string": "^[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Regex matching a Hydra namespace: dot-separated camelCase segments, each starting with a lowercase letter."}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.regexPackageName",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": "string"}}},
        "body": {
          "annotated": {
            "body": {"literal": {"string": "^[a-z][a-z0-9]*(-[a-z][a-z0-9]*)*$"}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Regex matching a Hydra package name: hyphen-separated lowercase segments, each starting with a letter."}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.regexPascalCase",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": "string"}}},
        "body": {
          "annotated": {
            "body": {"literal": {"string": "^[A-Z][a-zA-Z0-9]*$"}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {
                    "literal": {"string": "Regex matching a PascalCase identifier: starts with an uppercase letter, then any letters or digits."}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.constants.warningAutoGeneratedFile",
        "signature": {"typeParameters": [], "parameters": [], "result": {"type": {"literal": "string"}}},
        "body": {
          "annotated": {
            "body": {"literal": {"string": "Note: this is an automatically generated file. Do not edit."}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "A standard warning message for auto-generated files"}}}]}}}}}]}