You are here

private function HamlParser::parseXmlComment in Sassy 7

* Parse an Xml comment. *

Parameters

array line to parse: * @param HamlNode parent node * @return HamlCommentNode

1 call to HamlParser::parseXmlComment()
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 1232

Class

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

Code

private function parseXmlComment($line, $parent) {
  return new HamlCommentNode($line[self::HAML_CONTENT], $parent);
}