Class: Huml::Assignment

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/huml.rb

Instance Method Summary collapse

Instance Method Details

#tokenizeObject



39
40
41
42
43
# File 'lib/huml.rb', line 39

def tokenize
  [:html, :tag, name.text_value.to_sym,
    [:html, :attrs].concat(selector_list.tokenize).concat(attributes.empty? ? [] : attributes.tokenize),
    string.tokenize]
end