packages feed

hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/dsl/regex.json

{
  "name": "hydra.core.dsl.regex",
  "metadata": {"description": "DSL functions for hydra.core.regex", "comments": [], "seeAlso": [], "provisions": []},
  "dependencies": [
    {"module": "hydra.core.regex"},
    {"module": "hydra.core.typed"},
    {"module": "hydra.core.encode.regex"},
    {"module": "hydra.core.decode.regex"}],
  "definitions": [
    {
      "term": {
        "name": "hydra.core.dsl.regex.atomAtom",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.regex.Atom"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Atom"}}}}}},
            "annotation": {
              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.regex.Atom"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.atomLiteral",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {
                              "literal": {
                                "string": "A literal character, matched exactly. The character is a Unicode scalar value in the range [U+0000, U+10FFFF] (surrogates excluded), held as an int32 code point (the range fits in signed 32-bit, and int32 matches Hydra's string/parser code-point representation). In concrete syntax, a metacharacter is written escaped (e.g. \\.); escaping is purely a concrete-syntax concern, so the AST holds the bare code point."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Atom"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"literal": {"integer": "int32"}},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {
                                "literal": {
                                  "string": "A literal character, matched exactly. The character is a Unicode scalar value in the range [U+0000, U+10FFFF] (surrogates excluded), held as an int32 code point (the range fits in signed 32-bit, and int32 matches Hydra's string/parser code-point representation). In concrete syntax, a metacharacter is written escaped (e.g. \\.); escaping is purely a concrete-syntax concern, so the AST holds the bare code point."}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Atom"}}}}},
                                {
                                  "name": "field",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "literal"}}}}},
                                        {
                                          "name": "term",
                                          "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the literal variant of hydra.core.regex.Atom"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.atomAny",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Atom"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedTerm",
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "inject",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Injection",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Atom"}}}}},
                            {
                              "name": "field",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Field",
                                  "fields": [
                                    {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "any"}}}}},
                                    {"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the any variant of hydra.core.regex.Atom"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.atomAnchorStart",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Atom"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedTerm",
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "inject",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Injection",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Atom"}}}}},
                            {
                              "name": "field",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Field",
                                  "fields": [
                                    {
                                      "name": "name",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "anchorStart"}}}}},
                                    {"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the anchorStart variant of hydra.core.regex.Atom"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.atomAnchorEnd",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Atom"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedTerm",
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "inject",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Injection",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Atom"}}}}},
                            {
                              "name": "field",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Field",
                                  "fields": [
                                    {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "anchorEnd"}}}}},
                                    {"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the anchorEnd variant of hydra.core.regex.Atom"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.atomGroup",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.regex.Alternation"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A parenthesized sub-expression, ( ... ); groups an alternation for quantification."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Atom"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.regex.Alternation"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A parenthesized sub-expression, ( ... ); groups an alternation for quantification."}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Atom"}}}}},
                                {
                                  "name": "field",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "group"}}}}},
                                        {
                                          "name": "term",
                                          "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the group variant of hydra.core.regex.Atom"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.atomClass",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.regex.CharacterClass"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A character class, [ ... ]; matches any single character in (or, if negated, not in) the set."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Atom"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.regex.CharacterClass"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A character class, [ ... ]; matches any single character in (or, if negated, not in) the set."}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Atom"}}}}},
                                {
                                  "name": "field",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "class"}}}}},
                                        {
                                          "name": "term",
                                          "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the class variant of hydra.core.regex.Atom"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterClassCharacterClass",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterClass"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.regex.CharacterClass"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterClass",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": "boolean"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "True for a negated class ([^ ... ]), which matches any character NOT listed."}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"list": {"variable": "hydra.core.regex.ClassItem"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {
                              "literal": {
                                "string": "The class members: individual characters and/or character ranges. Must be non-empty; the empty class [] and negated-empty class [^] are excluded from the core (they are not in the POSIX/PCRE/ECMA intersection). hydra.core.parse.regex rejects an empty class."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "negated",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"literal": "boolean"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "True for a negated class ([^ ... ]), which matches any character NOT listed."}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "items",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"list": {"variable": "hydra.core.regex.ClassItem"}},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {
                                    "literal": {
                                      "string": "The class members: individual characters and/or character ranges. Must be non-empty; the empty class [] and negated-empty class [^] are excluded from the core (they are not in the POSIX/PCRE/ECMA intersection). hydra.core.parse.regex rejects an empty class."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterClass"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "negated"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "negated"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "items"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "items"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.regex.CharacterClass"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterClassNegated",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"literal": "boolean"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "True for a negated class ([^ ... ]), which matches any character NOT listed."}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterClass"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "negated"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the negated field of hydra.core.regex.CharacterClass"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterClassItems",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"list": {"variable": "hydra.core.regex.ClassItem"}},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {
                            "literal": {
                              "string": "The class members: individual characters and/or character ranges. Must be non-empty; the empty class [] and negated-empty class [^] are excluded from the core (they are not in the POSIX/PCRE/ECMA intersection). hydra.core.parse.regex rejects an empty class."}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterClass"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "items"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the items field of hydra.core.regex.CharacterClass"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterClassWithNegated",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": "boolean"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "True for a negated class ([^ ... ]), which matches any character NOT listed."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": "boolean"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "True for a negated class ([^ ... ]), which matches any character NOT listed."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterClass"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "negated"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "items"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterClass"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "items"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the negated field of hydra.core.regex.CharacterClass"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterClassWithItems",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"list": {"variable": "hydra.core.regex.ClassItem"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {
                              "literal": {
                                "string": "The class members: individual characters and/or character ranges. Must be non-empty; the empty class [] and negated-empty class [^] are excluded from the core (they are not in the POSIX/PCRE/ECMA intersection). hydra.core.parse.regex rejects an empty class."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterClass"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"list": {"variable": "hydra.core.regex.ClassItem"}},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {
                                    "literal": {
                                      "string": "The class members: individual characters and/or character ranges. Must be non-empty; the empty class [] and negated-empty class [^] are excluded from the core (they are not in the POSIX/PCRE/ECMA intersection). hydra.core.parse.regex rejects an empty class."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterClass"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "negated"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterClass"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "negated"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "items"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the items field of hydra.core.regex.CharacterClass"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterRangeCharacterRange",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterRange"}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL name token for hydra.core.regex.CharacterRange"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterRange",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The first character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The last character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "from",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"literal": {"integer": "int32"}},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The first character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "to",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": {"integer": "int32"}},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The last character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterRange"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "from"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "from"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "to"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "to"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.regex.CharacterRange"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterRangeFrom",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"literal": {"integer": "int32"}},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The first character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterRange"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "from"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the from field of hydra.core.regex.CharacterRange"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterRangeTo",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"literal": {"integer": "int32"}},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The last character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterRange"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "to"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the to field of hydra.core.regex.CharacterRange"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterRangeWithFrom",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The first character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": {"integer": "int32"}},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The first character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterRange"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "from"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "to"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterRange"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "to"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the from field of hydra.core.regex.CharacterRange"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.characterRangeWithTo",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The last character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.CharacterRange"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": {"integer": "int32"}},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The last character of the range (inclusive), as an int32 Unicode scalar value."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterRange"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "from"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.CharacterRange"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "from"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "to"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the to field of hydra.core.regex.CharacterRange"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.classItemClassItem",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.regex.ClassItem"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.ClassItem"}}}}}},
            "annotation": {
              "map": [
                {"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.regex.ClassItem"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.classItemCharacter",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "A single character (int32 Unicode scalar value) in the class."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.ClassItem"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"literal": {"integer": "int32"}},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "A single character (int32 Unicode scalar value) in the class."}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.ClassItem"}}}}},
                                {
                                  "name": "field",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "character"}}}}},
                                        {
                                          "name": "term",
                                          "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the character variant of hydra.core.regex.ClassItem"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.classItemRange",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.regex.CharacterRange"},
                      "annotation": {
                        "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "An inclusive range of characters, e.g. a-z."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.ClassItem"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.regex.CharacterRange"},
                        "annotation": {
                          "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "An inclusive range of characters, e.g. a-z."}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.ClassItem"}}}}},
                                {
                                  "name": "field",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "range"}}}}},
                                        {
                                          "name": "term",
                                          "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the range variant of hydra.core.regex.ClassItem"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifiedQuantified",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.regex.Quantified"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantified"}}}}}},
            "annotation": {
              "map": [
                {"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.regex.Quantified"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantified",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.regex.Atom"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The atom being quantified."}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.regex.Quantifier"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The quantifier; use 'one' for an unquantified atom."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "atom",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.regex.Atom"},
                        "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The atom being quantified."}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "quantifier",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.regex.Quantifier"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The quantifier; use 'one' for an unquantified atom."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantified"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "atom"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "atom"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "quantifier"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "quantifier"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL constructor for hydra.core.regex.Quantified"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifiedAtom",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.regex.Atom"},
                    "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The atom being quantified."}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantified"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "atom"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the atom field of hydra.core.regex.Quantified"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifiedQuantifier",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"variable": "hydra.core.regex.Quantifier"},
                    "annotation": {
                      "map": [
                        {
                          "key": {"variable": "description"},
                          "value": {"literal": {"string": "The quantifier; use 'one' for an unquantified atom."}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantified"}}}}},
                                              {
                                                "name": "fieldName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "quantifier"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the quantifier field of hydra.core.regex.Quantified"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifiedWithAtom",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.regex.Atom"},
                      "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The atom being quantified."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.regex.Atom"},
                            "annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "The atom being quantified."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantified"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "atom"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "quantifier"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantified"}}}}},
                                                                            {
                                                                              "name": "fieldName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "quantifier"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the atom field of hydra.core.regex.Quantified"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifiedWithQuantifier",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.regex.Quantifier"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The quantifier; use 'one' for an unquantified atom."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantified"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"variable": "hydra.core.regex.Quantifier"},
                            "annotation": {
                              "map": [
                                {
                                  "key": {"variable": "description"},
                                  "value": {"literal": {"string": "The quantifier; use 'one' for an unquantified atom."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantified"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "atom"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantified"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "atom"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "quantifier"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the quantifier field of hydra.core.regex.Quantified"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifierQuantifier",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.regex.Quantifier"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantifier"}}}}}},
            "annotation": {
              "map": [
                {"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.regex.Quantifier"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifierOne",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantifier"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedTerm",
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "inject",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Injection",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantifier"}}}}},
                            {
                              "name": "field",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Field",
                                  "fields": [
                                    {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "one"}}}}},
                                    {"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the one variant of hydra.core.regex.Quantifier"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifierZeroOrOne",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantifier"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedTerm",
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "inject",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Injection",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantifier"}}}}},
                            {
                              "name": "field",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Field",
                                  "fields": [
                                    {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "zeroOrOne"}}}}},
                                    {"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the zeroOrOne variant of hydra.core.regex.Quantifier"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifierZeroOrMore",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantifier"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedTerm",
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "inject",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Injection",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantifier"}}}}},
                            {
                              "name": "field",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Field",
                                  "fields": [
                                    {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "zeroOrMore"}}}}},
                                    {"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the zeroOrMore variant of hydra.core.regex.Quantifier"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifierOneOrMore",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantifier"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedTerm",
                "body": {
                  "inject": {
                    "typeName": "hydra.core.model.Term",
                    "field": {
                      "name": "inject",
                      "term": {
                        "record": {
                          "typeName": "hydra.core.model.Injection",
                          "fields": [
                            {
                              "name": "typeName",
                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantifier"}}}}},
                            {
                              "name": "field",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Field",
                                  "fields": [
                                    {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "oneOrMore"}}}}},
                                    {"name": "term", "term": {"inject": {"typeName": "hydra.core.model.Term", "field": {"name": "unit", "term": "unit"}}}}]}}}]}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the oneOrMore variant of hydra.core.regex.Quantifier"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifierExactly",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The {n} quantifier; matches exactly n occurrences."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantifier"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"literal": {"integer": "int32"}},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The {n} quantifier; matches exactly n occurrences."}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantifier"}}}}},
                                {
                                  "name": "field",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "exactly"}}}}},
                                        {
                                          "name": "term",
                                          "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the exactly variant of hydra.core.regex.Quantifier"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifierAtLeast",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The {n,} quantifier; matches at least n occurrences."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantifier"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"literal": {"integer": "int32"}},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The {n,} quantifier; matches at least n occurrences."}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantifier"}}}}},
                                {
                                  "name": "field",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "atLeast"}}}}},
                                        {
                                          "name": "term",
                                          "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the atLeast variant of hydra.core.regex.Quantifier"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.quantifierRange",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"variable": "hydra.core.regex.Range"},
                      "annotation": {
                        "map": [
                          {
                            "key": {"variable": "description"},
                            "value": {"literal": {"string": "The {n,m} quantifier; matches between n and m (inclusive) occurrences."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Quantifier"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"variable": "hydra.core.regex.Range"},
                        "annotation": {
                          "map": [
                            {
                              "key": {"variable": "description"},
                              "value": {"literal": {"string": "The {n,m} quantifier; matches between n and m (inclusive) occurrences."}}}]}}}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "inject",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Injection",
                              "fields": [
                                {
                                  "name": "typeName",
                                  "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Quantifier"}}}}},
                                {
                                  "name": "field",
                                  "term": {
                                    "record": {
                                      "typeName": "hydra.core.model.Field",
                                      "fields": [
                                        {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "range"}}}}},
                                        {
                                          "name": "term",
                                          "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL injection for the range variant of hydra.core.regex.Quantifier"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.rangeRange",
        "signature": {
          "typeParameters": [],
          "parameters": [],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedName"}, "argument": {"variable": "hydra.core.regex.Range"}}}}},
        "body": {
          "annotated": {
            "body": {
              "wrap": {
                "typeName": "hydra.core.typed.TypedName",
                "body": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Range"}}}}}},
            "annotation": {
              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL name token for hydra.core.regex.Range"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.range",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The minimum number of occurrences (inclusive)."}}}]}}}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The maximum number of occurrences (inclusive)."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "min",
                "domain": {
                  "application": {
                    "function": {"variable": "hydra.core.typed.TypedTerm"},
                    "argument": {
                      "annotated": {
                        "body": {"literal": {"integer": "int32"}},
                        "annotation": {
                          "map": [
                            {"key": {"variable": "description"}, "value": {"literal": {"string": "The minimum number of occurrences (inclusive)."}}}]}}}}},
                "body": {
                  "lambda": {
                    "parameter": "max",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": {"integer": "int32"}},
                            "annotation": {
                              "map": [
                                {"key": {"variable": "description"}, "value": {"literal": {"string": "The maximum number of occurrences (inclusive)."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Range"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "min"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "min"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "max"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "max"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "DSL constructor for hydra.core.regex.Range"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.rangeMin",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"literal": {"integer": "int32"}},
                    "annotation": {
                      "map": [
                        {"key": {"variable": "description"}, "value": {"literal": {"string": "The minimum number of occurrences (inclusive)."}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Range"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "min"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the min field of hydra.core.regex.Range"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.rangeMax",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {
                "function": {"variable": "hydra.core.typed.TypedTerm"},
                "argument": {
                  "annotated": {
                    "body": {"literal": {"integer": "int32"}},
                    "annotation": {
                      "map": [
                        {"key": {"variable": "description"}, "value": {"literal": {"string": "The maximum number of occurrences (inclusive)."}}}]}}}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "x",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}},
                "body": {
                  "wrap": {
                    "typeName": "hydra.core.typed.TypedTerm",
                    "body": {
                      "inject": {
                        "typeName": "hydra.core.model.Term",
                        "field": {
                          "name": "application",
                          "term": {
                            "record": {
                              "typeName": "hydra.core.model.Application",
                              "fields": [
                                {
                                  "name": "function",
                                  "term": {
                                    "inject": {
                                      "typeName": "hydra.core.model.Term",
                                      "field": {
                                        "name": "project",
                                        "term": {
                                          "record": {
                                            "typeName": "hydra.core.model.Projection",
                                            "fields": [
                                              {
                                                "name": "typeName",
                                                "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Range"}}}}},
                                              {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "max"}}}}}]}}}}}},
                                {
                                  "name": "argument",
                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "x"}}}}]}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL accessor for the max field of hydra.core.regex.Range"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.rangeWithMin",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The minimum number of occurrences (inclusive)."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": {"integer": "int32"}},
                            "annotation": {
                              "map": [
                                {"key": {"variable": "description"}, "value": {"literal": {"string": "The minimum number of occurrences (inclusive)."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Range"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "min"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "max"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Range"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "max"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the min field of hydra.core.regex.Range"}}}]}}}}},
    {
      "term": {
        "name": "hydra.core.dsl.regex.rangeWithMax",
        "signature": {
          "typeParameters": [],
          "parameters": [
            {
              "name": "arg0",
              "type": {
                "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}},
              "isLazy": false},
            {
              "name": "arg1",
              "type": {
                "application": {
                  "function": {"variable": "hydra.core.typed.TypedTerm"},
                  "argument": {
                    "annotated": {
                      "body": {"literal": {"integer": "int32"}},
                      "annotation": {
                        "map": [
                          {"key": {"variable": "description"}, "value": {"literal": {"string": "The maximum number of occurrences (inclusive)."}}}]}}}}},
              "isLazy": false}],
          "result": {
            "type": {
              "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}}}},
        "body": {
          "annotated": {
            "body": {
              "lambda": {
                "parameter": "original",
                "domain": {
                  "application": {"function": {"variable": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "hydra.core.regex.Range"}}},
                "body": {
                  "lambda": {
                    "parameter": "newVal",
                    "domain": {
                      "application": {
                        "function": {"variable": "hydra.core.typed.TypedTerm"},
                        "argument": {
                          "annotated": {
                            "body": {"literal": {"integer": "int32"}},
                            "annotation": {
                              "map": [
                                {"key": {"variable": "description"}, "value": {"literal": {"string": "The maximum number of occurrences (inclusive)."}}}]}}}}},
                    "body": {
                      "wrap": {
                        "typeName": "hydra.core.typed.TypedTerm",
                        "body": {
                          "inject": {
                            "typeName": "hydra.core.model.Term",
                            "field": {
                              "name": "record",
                              "term": {
                                "record": {
                                  "typeName": "hydra.core.model.Record",
                                  "fields": [
                                    {
                                      "name": "typeName",
                                      "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Range"}}}}},
                                    {
                                      "name": "fields",
                                      "term": {
                                        "list": [
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "min"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {
                                                    "inject": {
                                                      "typeName": "hydra.core.model.Term",
                                                      "field": {
                                                        "name": "application",
                                                        "term": {
                                                          "record": {
                                                            "typeName": "hydra.core.model.Application",
                                                            "fields": [
                                                              {
                                                                "name": "function",
                                                                "term": {
                                                                  "inject": {
                                                                    "typeName": "hydra.core.model.Term",
                                                                    "field": {
                                                                      "name": "project",
                                                                      "term": {
                                                                        "record": {
                                                                          "typeName": "hydra.core.model.Projection",
                                                                          "fields": [
                                                                            {
                                                                              "name": "typeName",
                                                                              "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.regex.Range"}}}}},
                                                                            {"name": "fieldName", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "min"}}}}}]}}}}}},
                                                              {
                                                                "name": "argument",
                                                                "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "original"}}}}]}}}}}}]}},
                                          {
                                            "record": {
                                              "typeName": "hydra.core.model.Field",
                                              "fields": [
                                                {"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "max"}}}}},
                                                {
                                                  "name": "term",
                                                  "term": {"application": {"function": {"unwrap": "hydra.core.typed.TypedTerm"}, "argument": {"variable": "newVal"}}}}]}}]}}]}}}}}}}}}}},
            "annotation": {
              "map": [
                {
                  "key": {"variable": "description"},
                  "value": {"literal": {"string": "DSL updater for the max field of hydra.core.regex.Range"}}}]}}}}}]}