private function SassParser::getToken in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/SassParser.php \SassParser::getToken()
Returns a token object that contains the next source statement and meta data about it.
Return value
object
1 call to SassParser::getToken()
- SassParser::getNode in phpsass/
SassParser.php - Creates and returns the next SassNode. The tpye of SassNode depends on the content of the SassToken.
File
- phpsass/
SassParser.php, line 635
Class
- SassParser
- SassParser class. Parses {@link http://sass-lang.com/ .sass and .sccs} files. @package PHamlP @subpackage Sass
Code
private function getToken() {
return $this->syntax === SassFile::SASS ? $this
->sass2Token() : $this
->scss2Token();
}