{
    "mode": "perldoc",
    "parameter": "Specio::Constraint::Parameterized",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Specio%3A%3AConstraint%3A%3AParameterized/json",
    "generated": "2026-10-06T08:18:07Z",
    "synopsis": "my $arrayref = t('ArrayRef');\nmy $arrayrefofint = $arrayref->parameterize( of => t('Int') );\nmy $parent = $arrayrefofint->parent; # returns ArrayRef\nmy $parameter = $arrayrefofint->parameter; # returns Int",
    "sections": {
        "NAME": {
            "content": "Specio::Constraint::Parameterized - A class which represents parameterized constraints\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 0.48\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "my $arrayref = t('ArrayRef');\n\nmy $arrayrefofint = $arrayref->parameterize( of => t('Int') );\n\nmy $parent = $arrayrefofint->parent; # returns ArrayRef\nmy $parameter = $arrayrefofint->parameter; # returns Int\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class implements the API for parameterized types.\n",
            "subsections": []
        },
        "API": {
            "content": "This class implements the same API as Specio::Constraint::Simple, with a few additions.\n\nSpecio::Constraint::Parameterized->new(...)\nThis class's constructor accepts two additional parameters:\n\n*   parent\n\nThis should be the Specio::Constraint::Parameterizable object from which this object was\ncreated.\n\nThis parameter is required.\n\n*   parameter\n\nThis is the type parameter for the parameterized type. This must be an object which does the\nSpecio::Constraint::Role::Interface role.\n\nThis parameter is required.\n\n$type->parameter\nReturns the type that was passed to the constructor.\n",
            "subsections": []
        },
        "SUPPORT": {
            "content": "Bugs may be submitted at <https://github.com/houseabsolute/Specio/issues>.\n",
            "subsections": []
        },
        "SOURCE": {
            "content": "The source code repository for Specio can be found at <https://github.com/houseabsolute/Specio>.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Dave Rolsky <autarch@urth.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is Copyright (c) 2012 - 2022 by Dave Rolsky.\n\nThis is free software, licensed under:\n\nThe Artistic License 2.0 (GPL Compatible)\n\nThe full text of the license can be found in the LICENSE file included with this distribution.\n",
            "subsections": []
        }
    },
    "summary": "Specio::Constraint::Parameterized - A class which represents parameterized constraints",
    "flags": [],
    "examples": [],
    "see_also": []
}