Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 26) sorted by relevance

12

/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
H A DEscaperNodeVisitor.php47 protected function doEnterNode(Node $node, Environment $env) argument
66 protected function doLeaveNode(Node $node, Environment $env) argument
73 return $this->preEscapeFilterNode($node, $env);
80 return $this->escapePrintNode($node, $env, $type);
105 $expr2 = $this->unwrapConditional($expr2, $env, $type);
123 if ($this->isSafeFor($type, $expression, $env)) {
138 if ($this->isSafeFor($type, $expression, $env)) {
151 $type = $env->getFilter($name)->getPreEscape();
157 if ($this->isSafeFor($type, $node, $env)) {
166 private function isSafeFor($type, Node $expression, $env) argument
[all …]
H A DAbstractNodeVisitor.php26 final public function enterNode(Node $node, Environment $env) argument
28 return $this->doEnterNode($node, $env);
31 final public function leaveNode(Node $node, Environment $env) argument
33 return $this->doLeaveNode($node, $env);
41 abstract protected function doEnterNode(Node $node, Environment $env); argument
48 abstract protected function doLeaveNode(Node $node, Environment $env); argument
H A DOptimizerNodeVisitor.php63 protected function doEnterNode(Node $node, Environment $env) argument
66 $this->enterOptimizeFor($node, $env);
72 protected function doLeaveNode(Node $node, Environment $env) argument
75 $this->leaveOptimizeFor($node, $env);
79 $node = $this->optimizeRawFilter($node, $env);
82 $node = $this->optimizePrintNode($node, $env);
94 private function optimizePrintNode(Node $node, Environment $env): Node argument
116 private function optimizeRawFilter(Node $node, Environment $env): Node argument
128 private function enterOptimizeFor(Node $node, Environment $env) argument
192 private function leaveOptimizeFor(Node $node, Environment $env) argument
H A DSafeAnalysisNodeVisitor.php74 protected function doEnterNode(Node $node, Environment $env) argument
79 protected function doLeaveNode(Node $node, Environment $env) argument
98 if (false !== $filter = $env->getFilter($name)) {
111 $function = $env->getFunction($name);
H A DNodeVisitorInterface.php29 public function enterNode(Node $node, Environment $env); argument
36 public function leaveNode(Node $node, Environment $env); argument
H A DMacroAutoImportNodeVisitor.php32 public function enterNode(Node $node, Environment $env) argument
42 public function leaveNode(Node $node, Environment $env) argument
H A DSandboxNodeVisitor.php41 protected function doEnterNode(Node $node, Environment $env) argument
99 protected function doLeaveNode(Node $node, Environment $env) argument
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DCoreExtension.php412 $charset = $env->getCharset();
479 $date = twig_date_converter($env, $date, false);
714 function twig_first(Environment $env, $item) argument
716 $elements = twig_slice($env, $item, 0, 1, false);
728 function twig_last(Environment $env, $item) argument
811 $length = mb_strlen($value, $env->getCharset());
905 $charset = $env->getCharset();
1061 function twig_length_filter(Environment $env, $thing) argument
1132 if (null !== $charset = $env->getCharset()) {
1148 $charset = $env->getCharset();
[all …]
H A DEscaperExtension.php171 function twig_escape_filter(Environment $env, $string, $strategy = 'html', $charset = null, $autoes… argument
181 $ext = $env->getExtension(EscaperExtension::class);
209 $charset = $env->getCharset();
396 $legacyEscapers = $env->getExtension(CoreExtension::class)->getEscapers(false);
398 return $legacyEscapers[$strategy]($env, $string, $charset);
401 $escapers = $env->getExtension(EscaperExtension::class)->getEscapers();
403 return $escapers[$strategy]($env, $string, $charset);
H A DStringLoaderExtension.php42 function twig_template_from_string(Environment $env, $template, string $name = null) argument
44 return $env->createTemplate((string) $template, $name);
H A DDebugExtension.php43 function twig_var_dump(Environment $env, $context, ...$vars) argument
45 if (!$env->isDebug()) {
/template/twigstarter/vendor/twig/twig/src/
H A DTemplateWrapper.php21 private $env; variable in Twig\\TemplateWrapper
30 public function __construct(Environment $env, Template $template) argument
32 $this->env = $env;
93 $context = $this->env->mergeGlobals($context);
95 if ($this->env->isDebug()) {
121 $this->template->displayBlock($name, $this->env->mergeGlobals($context));
H A DNodeTraverser.php26 private $env; variable in Twig\\NodeTraverser
32 public function __construct(Environment $env, array $visitors = []) argument
34 $this->env = $env;
65 $node = $visitor->enterNode($node, $this->env);
81 return $visitor->leaveNode($node, $this->env);
H A DTemplate.php38 protected $env; variable in Twig\\Template
44 public function __construct(Environment $env) argument
46 $this->env = $env;
47 $this->extensions = $env->getExtensions();
224 if ($this->env->isDebug()) {
249 if ($this->env->isDebug()) {
317 return $this->env->resolveTemplate($template);
330 return $this->env->loadClass($class, $template, $index);
333 return $this->env->loadTemplate($template, $index);
378 …$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $bl…
[all …]
H A DParser.php46 private $env; variable in Twig\\Parser
52 public function __construct(Environment $env) argument
54 $this->env = $env;
71 foreach ($this->env->getTokenParsers() as $handler) {
80 $this->visitors = $this->env->getNodeVisitors();
84 $this->expressionParser = new ExpressionParser($this, $this->env);
116 $traverser = new NodeTraverser($this->env, $this->visitors);
175 … $e->addSuggestions($token->getValue(), array_keys($this->env->getTags()));
H A DCompiler.php27 private $env; variable in Twig\\Compiler
33 public function __construct(Environment $env) argument
35 $this->env = $env;
45 return $this->env;
H A DExpressionParser.php52 private $env; variable in Twig\\ExpressionParser
56 public function __construct(Parser $parser, Environment $env) argument
59 $this->env = $env;
60 $this->unaryOperators = $env->getUnaryOperators();
61 $this->binaryOperators = $env->getBinaryOperators();
717 if ($test = $this->env->getTest($name)) {
725 if ($test = $this->env->getTest($name)) {
733 $e->addSuggestions($name, array_keys($this->env->getTests()));
761 if (false === $function = $this->env->getFunction($name)) {
787 if (false === $filter = $this->env->getFilter($name)) {
[all …]
H A DLexer.php32 private $env; variable in Twig\\Lexer
53 public function __construct(Environment $env, array $options = []) argument
55 $this->env = $env;
459 array_keys($this->env->getUnaryOperators()),
460 array_keys($this->env->getBinaryOperators())
H A DExtensionSet.php55 public function initRuntime(Environment $env) argument
65 $extension->initRuntime($env);
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DGetAttrExpression.php33 $env = $compiler->getEnvironment();
38 && (!$env->isStrictVariables() || $this->getAttribute('ignore_strict_check'))
82 ->raw(', ')->repr($env->hasExtension(SandboxExtension::class))
/template/chippedsnow/
H A Dless-1.1.3.min.js28env=="development"&&(g=setInterval(function(){document.body&&(document.getElementById(c)?document.…
29env=d.env||(location.hostname=="127.0.0.1"||location.hostname=="0.0.0.0"||location.hostname=="loca…
/template/twigstarter/vendor/twig/twig/src/Profiler/NodeVisitor/
H A DProfilerNodeVisitor.php39 protected function doEnterNode(Node $node, Environment $env) argument
44 protected function doLeaveNode(Node $node, Environment $env) argument
/template/icke/
H A D.eslintrc.js35 if(process.env.NODE_ENV === 'production') {
/template/bootstrap3/
H A D.travis.yml8 env:
/template/strap/
H A D.travis.yml9 env:

12