struct Lexbor::Tokenizer::Token
- Lexbor::Tokenizer::Token
- Struct
- Value
- Object
Overview
Html token without processing (raw attribute keys, html entities not converted)
Defined in:
lexbor/tokenizer/token.crConstructors
Class Method Summary
Instance Method Summary
- #any_attribute?
- #attribute_by(name : String)
- #attribute_by(slice : Slice)
- #attributes
- #closed?
- #each_attribute(&)
- #each_sliced_attribute(&)
-
#inspect(io : IO)
Token Inspect puts token.inspect # => Lexbor::Tokenizer::Token(div, {"class" => "aaa"})
- #self_closed?
- #tag_id
- #tag_name
- #tag_name_slice
- #tag_sym : Symbol
- #tag_text
- #tag_text_input_slice
- #tag_text_slice
- #textable?
- #to_html(io)
- #to_html
Constructor Detail
Class Method Detail
Instance Method Detail
def inspect(io : IO)
#
Token Inspect puts token.inspect # => Lexbor::Tokenizer::Token(div, {"class" => "aaa"})