struct
   Myhtml::SAX::Token
  
  - Myhtml::SAX::Token
- Struct
- Value
- Object
Overview
Html token without processing (raw attribute keys, html entities not converted)
Defined in:
myhtml/sax/token.crConstructors
Class Method Summary
Instance Method Summary
- #any_attribute?
- #attribute_by(string : String)
- #attribute_by(slice : Slice(UInt8))
- #attributes
- #closed?
- #each_attribute(&)
- #each_raw_attribute(&)
- 
        #inspect(io : IO)
        
          Token Inspect puts node.inspect # => Myhtml::SAX::Token(div, {"class" => "aaa"}) 
- #post_tag_slice
- #pre_tag_slice
- #self_closed?
- #tag_id
- #tag_name
- #tag_name_slice
- #tag_sym : Symbol
- #tag_text
- #tag_text_slice
- #textable?
Constructor Detail
        
        def self.new(tokenizer : Myhtml::SAX::Tokenizer, raw_tree : Pointer(Myhtml::Lib::MyhtmlTreeT), raw_token : Pointer(Myhtml::Lib::MyhtmlTokenNodeT))
        #
      
      
      Class Method Detail
Instance Method Detail
        
        def inspect(io : IO)
        #
      
      
        Token Inspect puts node.inspect # => Myhtml::SAX::Token(div, {"class" => "aaa"})