Class: Huml::Top
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Huml::Top
- Defined in:
- lib/huml.rb
Instance Method Summary collapse
Instance Method Details
#tokenize ⇒ Object
24 25 26 27 |
# File 'lib/huml.rb', line 24 def tokenize [:multi].push(doctype.empty? ? [:multi] : doctype.tokenize) .concat( html.empty? ? [[:multi]] : html.tokenize ) end |