{
    "content": [
        {
            "type": "text",
            "text": "# TAP::Parser::SourceHandler::RawTAP (perldoc)\n\n## NAME\n\nTAP::Parser::SourceHandler::RawTAP - Stream output from raw TAP in a scalar/array ref.\n\n## SYNOPSIS\n\nuse TAP::Parser::Source;\nuse TAP::Parser::SourceHandler::RawTAP;\nmy $source = TAP::Parser::Source->new->raw( \\\"1..1\\nok 1\\n\" );\n$source->assemblemeta;\nmy $class = 'TAP::Parser::SourceHandler::RawTAP';\nmy $vote  = $class->canhandle( $source );\nmy $iter  = $class->makeiterator( $source );\n\n## DESCRIPTION\n\nThis is a *raw TAP output* TAP::Parser::SourceHandler - it has 2 jobs:\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (1 subsections)\n- **SUBCLASSING**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "TAP::Parser::SourceHandler::RawTAP",
        "section": "",
        "mode": "perldoc",
        "summary": "TAP::Parser::SourceHandler::RawTAP - Stream output from raw TAP in a scalar/array ref.",
        "synopsis": "use TAP::Parser::Source;\nuse TAP::Parser::SourceHandler::RawTAP;\nmy $source = TAP::Parser::Source->new->raw( \\\"1..1\\nok 1\\n\" );\n$source->assemblemeta;\nmy $class = 'TAP::Parser::SourceHandler::RawTAP';\nmy $vote  = $class->canhandle( $source );\nmy $iter  = $class->makeiterator( $source );",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Class Methods",
                        "lines": 18
                    }
                ]
            },
            {
                "name": "SUBCLASSING",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "TAP::Parser::SourceHandler::RawTAP - Stream output from raw TAP in a scalar/array ref.\n",
                "subsections": []
            },
            "VERSION": {
                "content": "Version 3.43\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use TAP::Parser::Source;\nuse TAP::Parser::SourceHandler::RawTAP;\n\nmy $source = TAP::Parser::Source->new->raw( \\\"1..1\\nok 1\\n\" );\n$source->assemblemeta;\n\nmy $class = 'TAP::Parser::SourceHandler::RawTAP';\nmy $vote  = $class->canhandle( $source );\nmy $iter  = $class->makeiterator( $source );\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a *raw TAP output* TAP::Parser::SourceHandler - it has 2 jobs:\n\n1. Figure out if the TAP::Parser::Source it's given is raw TAP output (\"canhandle\").\n\n2. Creates an iterator for raw TAP output (\"makeiterator\").\n\nUnless you're writing a plugin or subclassing TAP::Parser, you probably won't need to use this\nmodule directly.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "",
                "subsections": [
                    {
                        "name": "Class Methods",
                        "content": "\"canhandle\"\nmy $vote = $class->canhandle( $source );\n\nOnly votes if $source is an array, or a scalar with newlines. Casts the following votes:\n\n0.9  if it's a scalar with '..' in it\n0.7  if it's a scalar with 'ok' in it\n0.3  if it's just a scalar with newlines\n0.5  if it's an array\n\n\"makeiterator\"\nmy $iterator = $class->makeiterator( $source );\n\nReturns a new TAP::Parser::Iterator::Array for the source. \"$source->raw\" must be an array ref,\nor a scalar ref.\n\n\"croak\"s on error.\n"
                    }
                ]
            },
            "SUBCLASSING": {
                "content": "Please see \"SUBCLASSING\" in TAP::Parser for a subclassing overview.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "TAP::Object, TAP::Parser, TAP::Parser::IteratorFactory, TAP::Parser::SourceHandler,\nTAP::Parser::SourceHandler::Executable, TAP::Parser::SourceHandler::Perl,\nTAP::Parser::SourceHandler::File, TAP::Parser::SourceHandler::Handle\n",
                "subsections": []
            }
        }
    }
}