Home
last modified time | relevance | path

Searched refs:parser (Results 1 – 25 of 35) sorted by last modified time

12

/template/tilus/css/
H A Ddifferences for less php.txt3 https://forum.dokuwiki.org/d/18698-the-css-parser-doesnt-parse-calc-properly/7
/template/twigstarter/vendor/composer/
H A DInstalledVersions.php113 …* @param VersionParser $parser Install composer/semver to have access to this class and func…
118 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
120 $constraint = $parser->parseConstraints($constraint);
121 $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
/template/twigstarter/vendor/twig/twig/src/
H A DExtensionSet.php296 public function addTokenParser(TokenParserInterface $parser) argument
302 $this->staging->addTokenParser($parser);
448 foreach ($extension->getTokenParsers() as $parser) {
449 if (!$parser instanceof TokenParserInterface) {
453 $this->parsers[] = $parser;
H A DExpressionParser.php51 private $parser; variable in Twig\\ExpressionParser
58 $this->parser = $parser;
74 $this->parser->getStream()->next();
103 $stream = $this->parser->getStream();
162 $this->parser->getStream()->next();
168 $this->parser->getStream()->next();
294 $stream = $this->parser->getStream();
322 $stream = $this->parser->getStream();
347 $stream = $this->parser->getStream();
427 if (!$this->parser->getParent() && !$this->parser->hasTraits()) {
[all …]
/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DIfTokenParser.php36 $expr = $this->parser->getExpressionParser()->parseExpression();
37 $stream = $this->parser->getStream();
39 $body = $this->parser->subparse([$this, 'decideIfFork']);
48 $else = $this->parser->subparse([$this, 'decideIfEnd']);
52 $expr = $this->parser->getExpressionParser()->parseExpression();
54 $body = $this->parser->subparse([$this, 'decideIfFork']);
H A DImportTokenParser.php27 $macro = $this->parser->getExpressionParser()->parseExpression();
28 $this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5, 'as');
29 …$var = new AssignNameExpression($this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5)->getV…
30 $this->parser->getStream()->expect(/* Token::BLOCK_END_TYPE */ 3);
32 $this->parser->addImportedSymbol('template', $var->getAttribute('name'));
34 …return new ImportNode($macro, $var, $token->getLine(), $this->getTag(), $this->parser->isMainScope…
H A DSandboxTokenParser.php33 $stream = $this->parser->getStream();
35 $body = $this->parser->subparse([$this, 'decideBlockEnd'], true);
H A DWithTokenParser.php26 $stream = $this->parser->getStream();
31 $variables = $this->parser->getExpressionParser()->parseExpression();
37 $body = $this->parser->subparse([$this, 'decideWithEnd'], true);
H A DApplyTokenParser.php32 $name = $this->parser->getVarName();
37 … $filter = $this->parser->getExpressionParser()->parseFilterExpressionRaw($ref, $this->getTag());
39 $this->parser->getStream()->expect(Token::BLOCK_END_TYPE);
40 $body = $this->parser->subparse([$this, 'decideApplyEnd'], true);
41 $this->parser->getStream()->expect(Token::BLOCK_END_TYPE);
H A DAutoEscapeTokenParser.php27 $stream = $this->parser->getStream();
32 $expr = $this->parser->getExpressionParser()->parseExpression();
40 $body = $this->parser->subparse([$this, 'decideBlockEnd'], true);
H A DBlockTokenParser.php35 $stream = $this->parser->getStream();
37 if ($this->parser->hasBlock($name)) {
38 …printf("The block '%s' has already been defined line %d.", $name, $this->parser->getBlock($name)->…
40 $this->parser->setBlock($name, $block = new BlockNode($name, new Node([]), $lineno));
41 $this->parser->pushLocalScope();
42 $this->parser->pushBlockStack($name);
45 $body = $this->parser->subparse([$this, 'decideBlockEnd'], true);
55 new PrintNode($this->parser->getExpressionParser()->parseExpression(), $lineno),
61 $this->parser->popBlockStack();
62 $this->parser->popLocalScope();
H A DDoTokenParser.php24 $expr = $this->parser->getExpressionParser()->parseExpression();
26 $this->parser->getStream()->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DEmbedTokenParser.php26 $stream = $this->parser->getStream();
28 $parent = $this->parser->getExpressionParser()->parseExpression();
47 $module = $this->parser->parse($stream, [$this, 'decideBlockEnd'], true);
54 $this->parser->embedTemplate($module);
H A DFilterTokenParser.php33 $stream = $this->parser->getStream();
38 $name = $this->parser->getVarName();
41 … $filter = $this->parser->getExpressionParser()->parseFilterExpressionRaw($ref, $this->getTag());
44 $body = $this->parser->subparse([$this, 'decideBlockEnd'], true);
48 $this->parser->setBlock($name, $block);
H A DForTokenParser.php39 $stream = $this->parser->getStream();
40 $targets = $this->parser->getExpressionParser()->parseAssignmentExpression();
42 $seq = $this->parser->getExpressionParser()->parseExpression();
48 $ifexpr = $this->parser->getExpressionParser()->parseExpression();
52 $body = $this->parser->subparse([$this, 'decideForFork']);
55 $else = $this->parser->subparse([$this, 'decideForEnd'], true);
H A DTokenParserInterface.php29 public function setParser(Parser $parser); argument
H A DUseTokenParser.php35 $template = $this->parser->getExpressionParser()->parseExpression();
36 $stream = $this->parser->getStream();
62 … $this->parser->addTrait(new Node(['template' => $template, 'targets' => new Node($targets)]));
H A DDeprecatedTokenParser.php31 $expr = $this->parser->getExpressionParser()->parseExpression();
33 $this->parser->getStream()->expect(Token::BLOCK_END_TYPE);
H A DFlushTokenParser.php26 $this->parser->getStream()->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DFromTokenParser.php27 $macro = $this->parser->getExpressionParser()->parseExpression();
28 $stream = $this->parser->getStream();
49 $var = new AssignNameExpression($this->parser->getVarName(), $token->getLine());
50 …$node = new ImportNode($macro, $var, $token->getLine(), $this->getTag(), $this->parser->isMainScop…
53 $this->parser->addImportedSymbol('function', $alias, 'macro_'.$name, $var);
H A DIncludeTokenParser.php29 $expr = $this->parser->getExpressionParser()->parseExpression();
38 $stream = $this->parser->getStream();
49 $variables = $this->parser->getExpressionParser()->parseExpression();
H A DMacroTokenParser.php32 $stream = $this->parser->getStream();
35 $arguments = $this->parser->getExpressionParser()->parseArguments(true, true);
38 $this->parser->pushLocalScope();
39 $body = $this->parser->subparse([$this, 'decideBlockEnd'], true);
47 $this->parser->popLocalScope();
50 …$this->parser->setMacro($name, new MacroNode($name, new BodyNode([$body]), $arguments, $lineno, $t…
H A DSetTokenParser.php33 $stream = $this->parser->getStream();
34 $names = $this->parser->getExpressionParser()->parseAssignmentExpression();
38 $values = $this->parser->getExpressionParser()->parseMultitargetExpression();
54 $values = $this->parser->subparse([$this, 'decideBlockEnd'], true);
/template/twigstarter/vendor/twig/twig/
H A DCHANGELOG284 * optimized parser performance by inlining the constant values
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DStagingExtension.php73 public function addTokenParser(TokenParserInterface $parser) argument
75 if (isset($this->tokenParsers[$parser->getTag()])) {
76 … throw new \LogicException(sprintf('Tag "%s" is already registered.', $parser->getTag()));
79 $this->tokenParsers[$parser->getTag()] = $parser;

12