Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 94) sorted by relevance

1234

/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DGetAttrExpression.php44 ->raw('(('.$var.' = ')
46 ->raw(') && is_array(')
47 ->raw($var)
48 ->raw(') || ')
49 ->raw($var)
50 ->raw(' instanceof ArrayAccess ? (')
51 ->raw($var)
52 ->raw('[')
54 ->raw('] ?? null) : null)')
60 $compiler->raw('twig_get_attribute($this->env, $this->source, ');
[all …]
DNameExpression.php41 ->raw('array_key_exists(')
43 ->raw(', $context)')
47 ->raw('(isset($context[')
49 ->raw(']) || array_key_exists(')
51 ->raw(', $context))')
55 $compiler->raw($this->specialVars[$name]);
58 ->raw('$context[')
60 ->raw(']')
65 ->raw('($context[')
67 ->raw('] ?? null)')
[all …]
DArrowFunctionExpression.php33 ->raw('function (')
37 $compiler->raw(', ');
41 ->raw('$__')
42 ->raw($name->getAttribute('name'))
43 ->raw('__')
47 ->raw(') use ($context, $macros) { ')
51 ->raw('$context["')
52 ->raw($name->getAttribute('name'))
53 ->raw('"] = $__')
54 ->raw($name->getAttribute('name'))
[all …]
DMethodCallExpression.php31 ->raw('method_exists($macros[')
33 ->raw('], ')
35 ->raw(')')
42 ->raw('twig_call_macro($macros[')
44 ->raw('], ')
46 ->raw(', [')
51 $compiler->raw(', ');
58 ->raw('], ')
60 ->raw(', $context, $this->getSourceContext())');
DBlockReferenceExpression.php45 ->raw(";\n");
60 ->raw(', ')
62 ->raw(', ')
64 ->raw(')')
68 $compiler->raw(sprintf('->%s', $method));
76 ->raw('(')
78 ->raw(', $context');
81 $compiler->raw(', $blocks');
84 return $compiler->raw(')');
DCallExpression.php30 $compiler->raw($callable);
35 $compiler->raw(sprintf('%s::%s', $callable[0], $callable[1]));
37 … $compiler->raw(sprintf('$this->env->getRuntime(\'%s\')->%s', $callable[0], $callable[1]));
44 $compiler->raw(sprintf('$this->env->getExtension(\'%s\')', $class));
46 $compiler->raw(sprintf('$this->extensions[\'%s\']', ltrim($class, '\\')));
49 $compiler->raw(sprintf('->%s', $callable[1]));
53 …$compiler->raw(sprintf('call_user_func_array($this->env->get%s(\'%s\')->getCallable(), ', ucfirst(…
60 $compiler->raw(')');
66 $compiler->raw($isArray ? '[' : '(');
71 $compiler->raw('$this->env');
[all …]
DConditionalExpression.php27 ->raw('((')
29 ->raw(') ? (')
31 ->raw(') : (')
33 ->raw('))')
/template/twigstarter/vendor/twig/twig/src/Node/
DModuleNode.php125 ->raw('$this->loadTemplate(')
127 ->raw(', ')
129 ->raw(', ')
131 ->raw(')')
136 ->raw(";\n")
166 … ->raw(sprintf(" extends %s\n", $compiler->getEnvironment()->getBaseTemplateClass(false)))
199 ->raw(', ')
201 ->raw(', ')
203 ->raw(");\n")
208 ->raw(".'\" cannot be used as a trait.', ")
[all …]
DIncludeNode.php52 ->raw(";\n")
65 ->raw(");\n")
71 $compiler->raw('->display(');
73 $compiler->raw(");\n");
82 ->raw(', ')
84 ->raw(', ')
86 ->raw(')')
93 $compiler->raw(false === $this->getAttribute('only') ? '$context' : '[]');
96 ->raw('twig_array_merge($context, ')
98 ->raw(')')
[all …]
DImportNode.php36 ->raw('] = ')
41 ->raw('$this->macros[')
43 ->raw('] = ')
48 $compiler->raw('$this');
51 ->raw('$this->loadTemplate(')
53 ->raw(', ')
55 ->raw(', ')
57 ->raw(')->unwrap()')
61 $compiler->raw(";\n");
DMacroNode.php48 ->raw('$__'.$name.'__ = ')
53 $compiler->raw(', ');
58 $compiler->raw(', ');
62 ->raw('...$__varargs__')
63 ->raw(")\n")
75 ->raw(' => $__'.$name.'__')
76 ->raw(",\n")
83 ->raw(' => ')
87 ->raw("\$__varargs__,\n")
101 ->raw("\n")
DSetNode.php52 $compiler->raw(', ');
57 $compiler->raw(')');
73 …$compiler->raw(" = ('' === \$tmp = ob_get_clean()) ? '' : new Markup(\$tmp, \$this->env->getCharse…
78 $compiler->raw(' = ');
84 $compiler->raw(', ');
89 $compiler->raw(']');
93 ->raw("('' === \$tmp = ")
95 ->raw(") ? '' : new Markup(\$tmp, \$this->env->getCharset())")
103 $compiler->raw(";\n");
DEmbedNode.php39 ->raw(', ')
41 ->raw(', ')
43 ->raw(', ')
45 ->raw(')')
/template/twigstarter/vendor/twig/twig/src/
DCompiler.php81 public function subcompile(Node $node, $raw = true) argument
83 if (false === $raw) {
99 public function raw($string) function in Twig\\Compiler
148 $this->raw(var_export($value, true));
154 $this->raw('null');
156 $this->raw($value ? 'true' : 'false');
158 $this->raw('array(');
162 $this->raw(', ');
166 $this->raw(' => ');
169 $this->raw(')');
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Test/
DConstantTest.php31 ->raw('(')
33 ->raw(' === constant(')
38 ->raw('get_class(')
40 ->raw(')."::".')
46 ->raw('))')
DEvenTest.php29 ->raw('(')
31 ->raw(' % 2 == 0')
32 ->raw(')')
DOddTest.php29 ->raw('(')
31 ->raw(' % 2 != 0')
32 ->raw(')')
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/
DInBinary.php21 ->raw('twig_in_filter(')
23 ->raw(', ')
25 ->raw(')')
31 return $compiler->raw('in');
DMatchesBinary.php21 ->raw('preg_match(')
23 ->raw(', ')
25 ->raw(')')
31 return $compiler->raw('');
DRangeBinary.php21 ->raw('range(')
23 ->raw(', ')
25 ->raw(')')
31 return $compiler->raw('..');
DNotInBinary.php21 ->raw('!twig_in_filter(')
23 ->raw(', ')
25 ->raw(')')
31 return $compiler->raw('not in');
DStartsWithBinary.php23 ->raw(sprintf('(is_string($%s = ', $left))
25 ->raw(sprintf(') && is_string($%s = ', $right))
27 ->raw(sprintf(') && (\'\' === $%2$s || 0 === strpos($%1$s, $%2$s)))', $left, $right))
33 return $compiler->raw('');
DEndsWithBinary.php23 ->raw(sprintf('(is_string($%s = ', $left))
25 ->raw(sprintf(') && is_string($%s = ', $right))
27 … ->raw(sprintf(') && (\'\' === $%2$s || $%2$s === substr($%1$s, -strlen($%2$s))))', $left, $right))
33 return $compiler->raw('');
DAbstractBinary.php29 ->raw('(')
31 ->raw(' ')
35 ->raw(' ')
37 ->raw(')')
/template/bs4simple/
DREADME.md3 ![image0](/images/sc0.png?raw=true)
4 ![image1](/images/sc1.png?raw=true)
5 ![image2](/images/sc2.png?raw=true)

1234