class

Haml::AttributeParser

Inherits Reference < Object

This parser understands ONLY the outer attribute list. In {...} each value is an opaque Crystal expression. No heterogeneous Hash is generated merely because the template has heterogeneous attributes.

Constructors

new(max_depth : Int32 = 128)
Source

Instance methods

hash_style(group : AST::Expression) : Array(AST::Attribute)
Source
html_style(group : AST::Expression) : Array(AST::Attribute)
Source
literal(name : String, value : String, location : Location) : AST::Attribute
Source