{
    "mode": "perldoc",
    "parameter": "HTML::TokeParser::Simple::Token::Declaration",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/HTML%3A%3ATokeParser%3A%3ASimple%3A%3AToken%3A%3ADeclaration/json",
    "generated": "2026-10-05T07:10:15Z",
    "synopsis": "use HTML::TokeParser::Simple;\nmy $p = HTML::TokeParser::Simple->new( $somefile );\nwhile ( my $token = $p->gettoken ) {\n# This prints all text in an HTML doc (i.e., it strips the HTML)\nnext unless $token->istext;\nprint $token->asis;\n}",
    "sections": {
        "NAME": {
            "content": "HTML::TokeParser::Simple::Token::Declaration - Token.pm declaration class.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use HTML::TokeParser::Simple;\nmy $p = HTML::TokeParser::Simple->new( $somefile );\n\nwhile ( my $token = $p->gettoken ) {\n# This prints all text in an HTML doc (i.e., it strips the HTML)\nnext unless $token->istext;\nprint $token->asis;\n}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is the declaration class for tokens.\n",
            "subsections": []
        },
        "OVERRIDDEN METHODS": {
            "content": "isdeclaration",
            "subsections": [
                {
                    "name": "is_declaration",
                    "content": ""
                }
            ]
        }
    },
    "summary": "HTML::TokeParser::Simple::Token::Declaration - Token.pm declaration class.",
    "flags": [],
    "examples": [],
    "see_also": []
}