Home
last modified time | relevance | path

Searched refs:compiler (Results 326 – 350 of 586) sorted by last modified time

1...<<11121314151617181920>>...24

/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/Unary/
H A DAbstractUnary.php25 public function compile(Compiler $compiler) argument
27 $compiler->raw(' ');
28 $this->operator($compiler);
29 $compiler->subcompile($this->getNode('node'));
32 abstract public function operator(Compiler $compiler); argument
H A DNegUnary.php19 public function operator(Compiler $compiler) argument
21 $compiler->raw('-');
H A DPosUnary.php19 public function operator(Compiler $compiler) argument
21 $compiler->raw('+');
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
H A DFlushNode.php28 public function compile(Compiler $compiler) argument
30 $compiler
H A DForLoopNode.php28 public function compile(Compiler $compiler) argument
31 $compiler->write("\$context['_iterated'] = true;\n");
35 $compiler
42 $compiler
H A DIfNode.php34 public function compile(Compiler $compiler) argument
36 $compiler->addDebugInfo($this);
39 $compiler
44 $compiler
49 $compiler
58 $compiler
66 $compiler
H A DImportNode.php30 public function compile(Compiler $compiler) argument
32 $compiler
40 $compiler->raw('$this');
42 $compiler
53 $compiler->raw(";\n");
H A DPrintNode.php30 public function compile(Compiler $compiler) argument
32 $compiler
H A DSandboxNode.php28 public function compile(Compiler $compiler) argument
30 $compiler
H A DSetNode.php46 $compiler->addDebugInfo($this);
49 $compiler->write('list(');
52 $compiler->raw(', ');
55 $compiler->subcompile($node);
57 $compiler->raw(')');
60 $compiler
74 $compiler->raw(' = ');
77 $compiler->write('[');
85 $compiler->raw(']');
88 $compiler
[all …]
H A DSetTempNode.php26 public function compile(Compiler $compiler) argument
29 $compiler
H A DWithNode.php33 public function compile(Compiler $compiler) argument
35 $compiler->addDebugInfo($this);
38 $varsName = $compiler->getVarName();
39 $compiler
56 $compiler->write("\$context = ['_parent' => \$context];\n");
58 $compiler->write("\$context['_parent'] = \$context;\n");
61 $compiler->write(sprintf("\$context = array_merge(\$context, \$%s);\n", $varsName));
63 $compiler->write("\$context['_parent'] = \$context;\n");
66 $compiler
H A DBlockNode.php29 public function compile(Compiler $compiler) argument
31 $compiler
37 $compiler
H A DCheckSecurityNode.php34 public function compile(Compiler $compiler) argument
47 $compiler
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
H A DDeprecatedTest.php68 $compiler = $this->getCompiler($environment);
69 $varName = $compiler->getVarName();
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Dinternals.rst21 * Eventually, the *compiler* transforms the AST into PHP code.
112 The last step is done by the compiler. It takes a node tree as an input and
139 The default compiler (``\Twig\Compiler``) can be changed by calling the
142 $twig->setCompiler($compiler);
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/
H A DNodeInterface.php26 public function compile(Compiler $compiler); argument
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/Binary/
H A DAbstractBinary.php25 public function compile(Compiler $compiler) argument
27 $compiler
32 $this->operator($compiler);
33 $compiler
40 abstract public function operator(Compiler $compiler); argument
H A DBitwiseXorBinary.php19 public function operator(Compiler $compiler) argument
21 return $compiler->raw('^');
H A DConcatBinary.php19 public function operator(Compiler $compiler) argument
21 return $compiler->raw('.');
H A DDivBinary.php19 public function operator(Compiler $compiler) argument
21 return $compiler->raw('/');
H A DFloorDivBinary.php18 public function compile(Compiler $compiler) argument
20 $compiler->raw('(int) floor(');
21 parent::compile($compiler);
22 $compiler->raw(')');
25 public function operator(Compiler $compiler) argument
27 return $compiler->raw('/');
H A DOrBinary.php19 public function operator(Compiler $compiler) argument
21 return $compiler->raw('||');
H A DPowerBinary.php18 public function compile(Compiler $compiler) argument
21 return parent::compile($compiler);
24 $compiler
33 public function operator(Compiler $compiler) argument
35 return $compiler->raw('**');
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
H A DBlockReferenceExpression.php44 public function compile(Compiler $compiler) argument
47 $this->compileTemplateCall($compiler, 'hasBlock');
50 $compiler->addDebugInfo($this);
64 $compiler->write('$this');
66 $compiler
77 $compiler->raw(sprintf('->%s', $method));
78 $this->compileBlockArguments($compiler);
80 return $compiler;
85 $compiler
91 $compiler->raw(', $blocks');
[all …]

1...<<11121314151617181920>>...24