Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 25 of 95) sorted by relevance

1234

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
H A DIncludeTest.php22 $expr = new ConstantExpression('foo.twig', 1);
23 $node = new IncludeNode($expr, null, false, false, 1);
26 $this->assertEquals($expr, $node->getNode('expr'));
30 $node = new IncludeNode($expr, $vars, true, false, 1);
39 $expr = new ConstantExpression('foo.twig', 1);
40 $node = new IncludeNode($expr, null, false, false, 1);
47 $expr = new ConditionalExpression(
53 $node = new IncludeNode($expr, null, false, false, 1);
60 $expr = new ConstantExpression('foo.twig', 1);
69 $node = new IncludeNode($expr, $vars, true, false, 1);
[all …]
H A DDeprecatedTest.php25 $expr = new ConstantExpression('foo', 1);
26 $node = new DeprecatedNode($expr, 1);
28 $this->assertEquals($expr, $node->getNode('expr'));
35 $expr = new ConstantExpression('This section is deprecated', 1);
36 $node = new DeprecatedNode($expr, 1, 'deprecated');
47 new DeprecatedNode($expr, 2, 'deprecated'),
64 $expr = new FunctionExpression('foo', new Node(), 1);
65 $node = new DeprecatedNode($expr, 1, 'deprecated');
H A DDoTest.php20 $expr = new ConstantExpression('foo', 1);
21 $node = new DoNode($expr, 1);
23 $this->assertEquals($expr, $node->getNode('expr'));
30 $expr = new ConstantExpression('foo', 1);
31 $node = new DoNode($expr, 1);
H A DPrintTest.php20 $expr = new ConstantExpression('foo', 1);
21 $node = new PrintNode($expr, 1);
23 $this->assertEquals($expr, $node->getNode('expr'));
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
H A DDeprecatedNode.php25 public function __construct(AbstractExpression $expr, $lineno, $tag = null) argument
27 parent::__construct(['expr' => $expr], [], $lineno, $tag);
34 $expr = $this->getNode('expr');
36 if ($expr instanceof ConstantExpression) {
38 ->subcompile($expr);
42 ->subcompile($expr)
H A DCheckToStringNode.php29 public function __construct(AbstractExpression $expr) argument
31 parent::__construct(['expr' => $expr], [], $expr->getTemplateLine(), $expr->getNodeTag());
H A DSandboxedPrintNode.php37 $expr = $this->getNode('expr');
38 if ($expr instanceof ConstantExpression) {
40 ->subcompile($expr)
46 ->subcompile($expr)
/plugin/const/
H A Dclass.evalmath.php108 function e($expr) { argument
109 return $this->evaluate($expr);
112 function evaluate($expr) { argument
114 $expr = trim($expr);
115 …if (substr($expr, -1, 1) == ';') $expr = substr($expr, 0, strlen($expr)-1); // strip semicolons at…
118 if (preg_match('/^\s*([a-z]\w*)\s*=\s*(.+)$/', $expr, $matches)) {
148 return $this->pfx($this->nfx($expr)); // straight up evaluation, woo
169 function nfx($expr) { argument
174 $expr = trim(strtolower($expr));
188 $op = substr($expr, $index, 1); // get the first character at the current index
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DGetAttrTest.php23 $expr = new NameExpression('foo', 1);
28 $node = new GetAttrExpression($expr, $attr, $args, Template::ARRAY_CALL, 1);
30 $this->assertEquals($expr, $node->getNode('node'));
40 $expr = new NameExpression('foo', 1);
43 $node = new GetAttrExpression($expr, $attr, $args, Template::ANY_CALL, 1);
46 $node = new GetAttrExpression($expr, $attr, $args, Template::ARRAY_CALL, 1);
52 $node = new GetAttrExpression($expr, $attr, $args, Template::METHOD_CALL, 1);
H A DTestTest.php24 $expr = new ConstantExpression('foo', 1);
27 $node = new TestExpression($expr, $name, $args, 1);
29 $this->assertEquals($expr, $node->getNode('node'));
41 $expr = new ConstantExpression('foo', 1);
42 $node = new NullTest($expr, 'null', new Node([]), 1);
H A DFilterTest.php23 $expr = new ConstantExpression('foo', 1);
26 $node = new FilterExpression($expr, $name, $args, 1);
28 $this->assertEquals($expr, $node->getNode('node'));
41 $expr = new ConstantExpression('foo', 1);
42 $node = $this->createFilter($expr, 'upper');
/plugin/ifauthex/_test/
H A Dgeneral.test.php137 foreach (self::VALID_EXPRESSIONS as $expr) {
141 $this->assertNotNull($ast = auth_expr_parse($expr));
146 foreach (self::VALID_MB_EXPRESSIONS as $expr) {
150 $this->assertNotNull($ast = auth_expr_parse($expr));
159 foreach (self::UNKNOWN_TOKEN_EXPRESSIONS as $expr) {
162 auth_expr_parse($expr);
172 foreach (self::UNMATCHED_WRAPPER_EXPRESSIONS as $expr) {
175 auth_expr_parse($expr);
186 foreach (self::NOT_ENOUGH_ARGS_EXPRESSIONS as $expr) {
189 auth_expr_parse($expr);
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/AccessContextManager/
H A DCustomLevel.php28 public function setExpr(Expr $expr) argument
30 $this->expr = $expr;
37 return $this->expr;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudAsset/
H A DGoogleIdentityAccesscontextmanagerV1CustomLevel.php28 public function setExpr(Expr $expr) argument
30 $this->expr = $expr;
37 return $this->expr;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Compute/
H A DSecurityPolicyRuleMatcher.php48 public function setExpr(Expr $expr) argument
50 $this->expr = $expr;
57 return $this->expr;
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/Unary/
H A DPosTest.php20 $expr = new ConstantExpression(1, 1);
21 $node = new PosUnary($expr, 1);
23 $this->assertEquals($expr, $node->getNode('node'));
H A DNotTest.php20 $expr = new ConstantExpression(1, 1);
21 $node = new NotUnary($expr, 1);
23 $this->assertEquals($expr, $node->getNode('node'));
H A DNegTest.php20 $expr = new ConstantExpression(1, 1);
21 $node = new NegUnary($expr, 1);
23 $this->assertEquals($expr, $node->getNode('node'));
/plugin/fedauth/Auth/OpenID/
H A DParse.php142 $expr = $this->_tag_expr;
151 $expr = sprintf($expr, $tag_name, $closer);
152 return sprintf("/%s/%s", $expr, $this->_re_flags);
157 $expr = sprintf($this->_open_tag_expr, $tag_name);
158 return sprintf("/%s/%s", $expr, $this->_re_flags);
163 $expr = sprintf($this->_close_tag_expr, $tag_name, $tag_name);
164 return sprintf("/%s/%s", $expr, $this->_re_flags);
/plugin/openid/Auth/OpenID/
H A DParse.php142 $expr = $this->_tag_expr;
151 $expr = sprintf($expr, $tag_name, $closer);
152 return sprintf("/%s/%s", $expr, $this->_re_flags);
157 $expr = sprintf($this->_open_tag_expr, $tag_name);
158 return sprintf("/%s/%s", $expr, $this->_re_flags);
163 $expr = sprintf($this->_close_tag_expr, $tag_name, $tag_name);
164 return sprintf("/%s/%s", $expr, $this->_re_flags);
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
H A DIfTokenParser.php38 $expr = $this->parser->getExpressionParser()->parseExpression();
42 $tests = [$expr, $body];
54 $expr = $this->parser->getExpressionParser()->parseExpression();
57 $tests[] = $expr;
H A DAutoEscapeTokenParser.php47 $expr = $this->parser->getExpressionParser()->parseExpression();
48 if (!$expr instanceof ConstantExpression) {
51 $value = $expr->getAttribute('value');
H A DDeprecatedTokenParser.php31 $expr = $this->parser->getExpressionParser()->parseExpression();
35 return new DeprecatedNode($expr, $token->getLine(), $this->getTag());
H A DDoTokenParser.php26 $expr = $this->parser->getExpressionParser()->parseExpression();
30 return new DoNode($expr, $token->getLine(), $this->getTag());
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DExpressionParser.php73 $expr = $this->getPrimary();
80 $expr = $this->parseNotTestExpression($expr);
82 $expr = $this->parseTestExpression($expr);
84 $expr = \call_user_func($op['callable'], $this->parser, $expr);
88 $expr = new $class($expr, $expr1, $token->getLine());
98 return $expr;
134 $expr2 = $expr;
141 return $expr;
259 $expr = array_shift($nodes);
261 $expr = new ConcatBinary($expr, $node, $node->getTemplateLine());
[all …]

1234