Home
last modified time | relevance | path

Searched refs:repr (Results 1 – 21 of 21) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/Node/
DCheckSecurityNode.php59 ->write('static $tags = ')->repr(array_filter($this->usedTags))->raw(";\n")
60 ->write('static $filters = ')->repr(array_filter($this->usedFilters))->raw(";\n")
61 ->write('static $functions = ')->repr(array_filter($this->usedFunctions))->raw(";\n\n")
66 ->write('')->repr(array_keys($this->usedTags))->raw(",\n")
67 ->write('')->repr(array_keys($this->usedFilters))->raw(",\n")
68 ->write('')->repr(array_keys($this->usedFunctions))->raw(",\n")
DNode.php70 $repr = static::class;
73 $repr .= \sprintf("\n tag: %s", $this->tag);
89 $repr .= \sprintf("\n attributes:\n %s", implode("\n ", $attributes));
93 $repr .= "\n nodes:";
101 $repr .= \sprintf("\n %s: %s", $name, ltrim(implode("\n", $noderepr)));
105 return $repr;
DEmbedNode.php42 ->repr($this->getTemplateLine())
44 ->repr($this->getAttribute('index'))
DModuleNode.php155 ->repr($parent->getTemplateLine())
237 ->repr($node->getTemplateLine())
244 ->repr($node->getTemplateLine())
262 ->repr($node->getTemplateLine())
370 ->repr($parent->getTemplateLine())
428 ->repr($this->getSourceContext()->getName())
DCheckToStringNode.php44 ->repr($expr->getTemplateLine())
DImportNode.php54 ->repr($this->getTemplateLine())
DWithNode.php53 ->repr($node->getTemplateLine())
DIncludeNode.php91 ->repr($this->getTemplateLine())
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DMethodCallExpression.php38 ->repr($this->getNode('node')->getAttribute('name'))
40 ->repr($this->getAttribute('method'))
49 ->repr($this->getNode('node')->getAttribute('name'))
51 ->repr($this->getAttribute('method'))
55 ->repr($this->getTemplateLine())
DMacroReferenceExpression.php56 ->repr($this->getAttribute('name'))
67 ->repr($this->getAttribute('name'))
69 ->repr($this->getTemplateLine())
DGetAttrExpression.php144 ->repr($this->getAttribute('type'))
145 ->raw(', ')->repr($this->definedTest)
146 ->raw(', ')->repr($this->getAttribute('ignore_strict_check'))
147 ->raw(', ')->repr($env->hasExtension(SandboxExtension::class))
148 ->raw(', ')->repr($this->getNode('node')->getTemplateLine())
DNameExpression.php46 $compiler->repr(true);
88 ->repr($this->lineno)
DConstantExpression.php31 $compiler->repr($this->definedTest ? true : $this->getAttribute('value'));
DBlockReferenceExpression.php79 ->repr($this->getTemplateLine())
DArrayExpression.php119 $compiler->repr(true);
/template/twigstarter/vendor/twig/twig/src/Profiler/Node/
DEnterProfileNode.php35 ->repr($this->getAttribute('extension_name'))
38 ->repr($this->getAttribute('type'))
40 ->repr($this->getAttribute('name'))
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/
DObjectDestructuringSetBinary.php61 $compiler->raw('$context[')->repr($mapping['variable'])->raw(']');
68repr($mapping['property'])->raw(', [], \\Twig\\Template::ANY_CALL, false, false, ')->repr($compile…
DSequenceDestructuringSetBinary.php57 $compiler->raw('$context[')->repr($name)->raw(']');
60 …$compiler->raw('] = array_pad(')->subcompile($this->getNode('right'))->raw(', ')->repr(\count($thi…
/template/twigstarter/vendor/twig/twig/src/
DCompiler.php162 public function repr($value) function in Twig\\Compiler
186 $this->repr($key);
188 $this->repr($v);
/template/strap/vendor/symfony/yaml/
H A DInline.php170 $repr = (string) $value;
172 $repr = str_ireplace('INF', '.Inf', $repr);
173 } elseif (floor($value) == $value && $repr == $value) {
175 if (false === strpos($repr, 'E')) {
176 $repr = $repr.'.0';
180 $repr = \is_string($value) ? "'$value'" : (string) $value;
186 return $repr;
/template/twigstarter/vendor/twig/twig/
DCHANGELOG86 * Fix compiling 'index' with repr (not string) in EmbedNode