You are here

private function HamlParser::isXmlComment in Sassy 7

* Return a value indicating if the line is an XML comment. *

Parameters

array line to test: * @return boolean true if theline is an XML comment, false if not

1 call to HamlParser::isXmlComment()
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 760

Class

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

Code

private function isXmlComment($line) {
  return $line[self::HAML_SOURCE][0] === self::XML_COMMENT;
}