You are here

public function SassScriptParser::__construct in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/script/SassScriptParser.php \SassScriptParser::__construct()

SassScriptParser constructor.

Return value

SassScriptParser

File

phpsass/script/SassScriptParser.php, line 47

Class

SassScriptParser
SassScriptParser class. Parses SassScript. SassScript is lexed into {@link http://en.wikipedia.org/wiki/Reverse_Polish_notation Reverse Polish notation} by the SassScriptLexer and the calculated result returned. @package PHamlP @subpackage …

Code

public function __construct() {
  $this->lexer = new SassScriptLexer($this);
  self::$instance = $this;
}