Myhtml::SAX::Token
Html token without processing (raw attribute keys, html entities not converted)
Constructors
new(tokenizer : Myhtml::SAX::Tokenizer, raw_tree : Pointer(Myhtml::Lib::MyhtmlTreeT), raw_token : Pointer(Myhtml::Lib::MyhtmlTokenNodeT))
SourceClass methods
from_raw(tokenizer, raw_tree, raw_token) : Token | Nil
SourceInstance methods
any_attribute?
Sourceattributes
Sourceclosed?
Sourceeach_attribute
Sourceeach_raw_attribute
Sourceinspect(io : IO)
Token Inspect puts node.inspect # => Myhtml::SAX::Token(div, {"class" => "aaa"})
post_tag_slice
Sourcepre_tag_slice
Sourceself_closed?
Sourcetag_id
Sourcetag_name
Sourcetag_name_slice
Sourcetag_sym
Sourcetag_text
Sourcetag_text_slice
Sourcetextable?
Source