private function HamlParser::isCode in Sassy 7
* Return a value indicating if the line is code to be run. *
Parameters
array line: * @return boolean true if the line is code to be run, false if not
1 call to HamlParser::isCode()
- 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 685
Class
- HamlParser
- HamlParser class. Parses {@link http://haml-lang.com/ Haml} view files. @package PHamlP @subpackage Haml
Code
private function isCode($line) {
return $line[self::HAML_TOKEN] === self::RUN_CODE;
}