class

Haml::Parser

Inherits Reference < Object

Constants

FILTERS = ["plain", "escaped", "preserve", "css", "javascript"] of ::String
MAX_CONTINUATION_LINES = 256

This is a guard on the simple re-scan-on-continuation implementation. Ordinary lines are scanned once; deliberately huge attribute blocks should be moved into a helper/map instead of causing quadratic work.

Constructors

new(source : String, filename : String = "inline.haml", options : Options = Options.new)
Source

Instance methods

parse
Source