You are here

private function HamlParser::isMultiline in Sassy 7

* Returns a value indicating whether the line is part of a multilne group *

Parameters

array the line to test: * @return boolean true if the line os part of a multiline group, false if not

2 calls to HamlParser::isMultiline()
HamlParser::getMultiline in phamlp/haml/HamlParser.php
* Gets the next line. *
HamlParser::getNextLine in phamlp/haml/HamlParser.php
* Gets the next line. *

File

phamlp/haml/HamlParser.php, line 769

Class

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

Code

private function isMultiline($line) {
  return substr($line[self::HAML_SOURCE], -2) === self::MULTILINE;
}