Lines Matching refs:parser

16  * The LESS compiler and parser.
31 * The `lessc` class creates an instance of the parser, feeds it LESS code,
67 // set to the parser that generated the current line when compiling
125 $parser = $this->makeParser($realPath);
126 $root = $parser->parse(file_get_contents($realPath));
137 // TODO: need to mark the source parser these came from this file
152 $this->compileImportedProps($top, $parentBlock, $out, $parser, $dir);
154 return array(true, $bottom, $parser, $dir);
215 $block->parser->throwError("unknown block type: $block->type\n", $block->count);
727 $block->parser->throwError("{$prop[1][0]} is undefined", $block->count);
812 [, $bottom, $parser, $importDir] = $import;
813 $this->compileImportedProps($bottom, $block, $out, $parser, $importDir);
818 $block->parser->throwError("unknown op: {$prop[0]}\n", $block->count);
1484 * as returned by the parser into values of color type.
2053 $parser = new lessc_parser($this, __METHOD__);
2056 $parser->count = 0;
2057 $parser->buffer = (string)$strValue;
2058 if (!$parser->propertyValue($value)) {
2067 * Initialize any static state, can initialize parser for a file
2081 $this->parser = $this->makeParser($name);
2082 $root = $this->parser->parse($string);
2094 $this->sourceParser = $this->parser; // used for error messages
2267 $parser = new lessc_parser($this, $name);
2268 $parser->writeComments = $this->preserveComments;
2270 return $parser;
2614 * This parser is most similar to a recursive descent parser. Single
2805 // TODO: cache pattern in parser
3817 // add a reference to the parser so
3818 // we can access the parser to throw errors
3820 $b->parser = $this;