Searched refs:repr (Results 1 – 21 of 21) sorted by relevance
| /template/twigstarter/vendor/twig/twig/src/Node/ |
| D | CheckSecurityNode.php | 59 ->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")
|
| D | Node.php | 70 $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;
|
| D | EmbedNode.php | 42 ->repr($this->getTemplateLine()) 44 ->repr($this->getAttribute('index'))
|
| D | ModuleNode.php | 155 ->repr($parent->getTemplateLine()) 237 ->repr($node->getTemplateLine()) 244 ->repr($node->getTemplateLine()) 262 ->repr($node->getTemplateLine()) 370 ->repr($parent->getTemplateLine()) 428 ->repr($this->getSourceContext()->getName())
|
| D | CheckToStringNode.php | 44 ->repr($expr->getTemplateLine())
|
| D | ImportNode.php | 54 ->repr($this->getTemplateLine())
|
| D | WithNode.php | 53 ->repr($node->getTemplateLine())
|
| D | IncludeNode.php | 91 ->repr($this->getTemplateLine())
|
| /template/twigstarter/vendor/twig/twig/src/Node/Expression/ |
| D | MethodCallExpression.php | 38 ->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())
|
| D | MacroReferenceExpression.php | 56 ->repr($this->getAttribute('name')) 67 ->repr($this->getAttribute('name')) 69 ->repr($this->getTemplateLine())
|
| D | GetAttrExpression.php | 144 ->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())
|
| D | NameExpression.php | 46 $compiler->repr(true); 88 ->repr($this->lineno)
|
| D | ConstantExpression.php | 31 $compiler->repr($this->definedTest ? true : $this->getAttribute('value'));
|
| D | BlockReferenceExpression.php | 79 ->repr($this->getTemplateLine())
|
| D | ArrayExpression.php | 119 $compiler->repr(true);
|
| /template/twigstarter/vendor/twig/twig/src/Profiler/Node/ |
| D | EnterProfileNode.php | 35 ->repr($this->getAttribute('extension_name')) 38 ->repr($this->getAttribute('type')) 40 ->repr($this->getAttribute('name'))
|
| /template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/ |
| D | ObjectDestructuringSetBinary.php | 61 $compiler->raw('$context[')->repr($mapping['variable'])->raw(']'); 68 …repr($mapping['property'])->raw(', [], \\Twig\\Template::ANY_CALL, false, false, ')->repr($compile…
|
| D | SequenceDestructuringSetBinary.php | 57 $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/ |
| D | Compiler.php | 162 public function repr($value) function in Twig\\Compiler 186 $this->repr($key); 188 $this->repr($v);
|
| /template/strap/vendor/symfony/yaml/ |
| H A D | Inline.php | 170 $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/ |
| D | CHANGELOG | 86 * Fix compiling 'index' with repr (not string) in EmbedNode
|