Method | Description | |
---|---|---|
__construct ( HamlPHP $hamlphp ) | ||
getLine ( $index ) | ||
getLines ( ) | ||
getNextLine ( ) | ||
parseFile ( string $fileName ) | Compiles haml from a file. | |
parseLines ( array $rawLines = [] ) | Compiles haml from an array of lines. | |
parseString ( string $rawString ) | Compiles haml from a string. | |
setHamlPhp ( HamlPHP $hamlphp ) |
Method | Description | |
---|---|---|
getIndentLevel ( string $line ) : integer | Returns the indent level of a line. | |
removeEmptyLines ( array $rawLines ) | @todo We CANNOT remove empty lines inside some filters (eg the planned markdown filter), actually, i think we shouldn't do this at all |
public parseLines ( array $rawLines = [] ) | ||
$rawLines | array |
public parseString ( string $rawString ) | ||
$rawString | string |