You are here

private function HamlParser::isHamlComment in Sassy 7

* Return a value indicating if the line is a Haml comment. *

Parameters

array line to test: * @return boolean true if the line is a Haml comment, false if not

1 call to HamlParser::isHamlComment()
HamlParser::parseLine in phamlp/haml/HamlParser.php
* Parse a line of Haml into a HamlNode for the document tree *

File

phamlp/haml/HamlParser.php, line 741

Class

HamlParser
HamlParser class. Parses {@link http://haml-lang.com/ Haml} view files. @package PHamlP @subpackage Haml

Code

private function isHamlComment($line) {
  return preg_match(self::HAML_COMMENT, $line[self::HAML_TOKEN]) > 0;
}