HTML::TokeParser::Simple::TokenUser)Contributed Perl DocumentHTML::TokeParser::Simple::Token(3pm) NAME HTML::TokeParser::Simple::Token - Base class for "HTML::TokeParser::Simple" tokens. SYNOPSIS use HTML::TokeParser::Simple; my $p = HTML::TokeParser::Simple->new( $somefile ); while ( my $token = $p->get_token ) { # This prints all text in an HTML doc (i.e., it strips the HTML) next unless $token->is_text; print $token->as_is; } DESCRIPTION This is the base class for all returned tokens. It should never be instantiated directly. In fact, it will "croak()" if it is. METHODS The following list of methods are provided by this class. Most of these are stub methods which must be overridden in a subclass. See HTML::TokeParser::Simple for descriptions of these methods. o as_is o delete_attr o get_attr o get_attrseq o get_tag o get_token0 o is_comment o is_declaration o is_end_tag o is_pi o is_process_instruction o is_start_tag o is_tag o is_text o return_attr o return_attrseq o return_tag o return_text o return_token0 o rewrite_tag o set_attr perl v5.32.1 2021-12-05 HTML::TokeParser::Simple::Token(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-01-23 01:28 @18.219.201.94 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)