You are here

public function SassScriptLexer::__construct in Sassy 7.3

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

SassScriptLexer constructor.

Return value

SassScriptLexer

File

phpsass/script/SassScriptLexer.php, line 45

Class

SassScriptLexer
SassScriptLexer class. Lexes SassSCript into tokens for the parser.

Code

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