Home
last modified time | relevance | path

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

123456

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
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);
62 $node = new IncludeNode($expr, $vars, false, false, 1);
[all …]
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');
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);
/plugin/asciidocjs/node_modules/acorn/src/
Dlval.js176 pp.checkLVal = function(expr, isBinding, checkClashes) { argument
177 switch (expr.type) {
179 if (this.strict && this.reservedWordsStrictBind.test(expr.name))
180 …this.raiseRecoverable(expr.start, (isBinding ? "Binding " : "Assigning to ") + expr.name + " in st…
182 if (has(checkClashes, expr.name))
183 this.raiseRecoverable(expr.start, "Argument name clash")
184 checkClashes[expr.name] = true
189 …if (isBinding) this.raiseRecoverable(expr.start, (isBinding ? "Binding" : "Assigning to") + " memb…
193 for (let i = 0; i < expr.properties.length; i++)
194 this.checkLVal(expr.properties[i].value, isBinding, checkClashes)
[all …]
Dexpression.js80 let expr = this.parseMaybeAssign(noIn, refDestructuringErrors)
83 node.expressions = [expr]
87 return expr
132 let expr = this.parseExprOps(noIn, refDestructuringErrors)
133 if (this.checkExpressionErrors(refDestructuringErrors)) return expr
136 node.test = expr
142 return expr
149 let expr = this.parseMaybeUnary(refDestructuringErrors, false)
150 if (this.checkExpressionErrors(refDestructuringErrors)) return expr
151 return this.parseExprOp(expr, startPos, startLoc, -1, noIn)
[all …]
/plugin/asciidocjs/node_modules/with/node_modules/acorn/src/
Dlval.js173 pp.checkLVal = function(expr, isBinding, checkClashes) { argument
174 switch (expr.type) {
176 if (this.strict && this.reservedWordsStrictBind.test(expr.name))
177 …this.raiseRecoverable(expr.start, (isBinding ? "Binding " : "Assigning to ") + expr.name + " in st…
179 if (has(checkClashes, expr.name))
180 this.raiseRecoverable(expr.start, "Argument name clash")
181 checkClashes[expr.name] = true
186 …if (isBinding) this.raiseRecoverable(expr.start, (isBinding ? "Binding" : "Assigning to") + " memb…
190 for (let i = 0; i < expr.properties.length; i++)
191 this.checkLVal(expr.properties[i].value, isBinding, checkClashes)
[all …]
Dexpression.js80 let expr = this.parseMaybeAssign(noIn, refDestructuringErrors)
83 node.expressions = [expr]
87 return expr
127 let expr = this.parseExprOps(noIn, refDestructuringErrors)
128 if (this.checkExpressionErrors(refDestructuringErrors)) return expr
131 node.test = expr
137 return expr
144 let expr = this.parseMaybeUnary(refDestructuringErrors, false)
145 if (this.checkExpressionErrors(refDestructuringErrors)) return expr
146 return this.parseExprOp(expr, startPos, startLoc, -1, noIn)
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
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)
DCheckToStringNode.php29 public function __construct(AbstractExpression $expr) argument
31 parent::__construct(['expr' => $expr], [], $expr->getTemplateLine(), $expr->getNodeTag());
DSandboxedPrintNode.php37 $expr = $this->getNode('expr');
38 if ($expr instanceof ConstantExpression) {
40 ->subcompile($expr)
46 ->subcompile($expr)
/plugin/ifauthex/_test/
Dgeneral.test.php137 foreach (self::VALID_EXPRESSIONS as $expr) {
138 $failureMsg = 'Assertion failed at expression "' . $expr . '".';
141 $this->assertNotNull($ast = auth_expr_parse($expr));
143 $this->assertEquals(self::strip($rebuiltExpr), self::strip($expr));
146 foreach (self::VALID_MB_EXPRESSIONS as $expr) {
147 $failureMsg = 'Assertion failed at expression "' . $expr . '".';
150 $this->assertNotNull($ast = auth_expr_parse($expr));
152 $this->assertEquals(self::strip($rebuiltExpr), self::strip($expr));
159 foreach (self::UNKNOWN_TOKEN_EXPRESSIONS as $expr) {
162 auth_expr_parse($expr);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
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);
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);
/plugin/parserfunctions/
Dhelper.php240 public function evaluateMathExpression($expr) { argument
242 $expr = trim($expr);
254 , $expr)) {
259 $expr = preg_replace('/\bnot\b/i', '!', $expr);
261 $result = eval('return (' . $expr . ');');
/plugin/authgooglesheets/vendor/google/apiclient-services/src/AccessContextManager/
DCustomLevel.php28 public function setExpr(Expr $expr) argument
30 $this->expr = $expr;
37 return $this->expr;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudAsset/
DGoogleIdentityAccesscontextmanagerV1CustomLevel.php28 public function setExpr(Expr $expr) argument
30 $this->expr = $expr;
37 return $this->expr;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Compute/
DSecurityPolicyRuleMatcher.php48 public function setExpr(Expr $expr) argument
50 $this->expr = $expr;
57 return $this->expr;
/plugin/scrape/vendor/symfony/css-selector/XPath/
DXPathExpr.php89 public function join(string $combiner, self $expr): self argument
93 if ('*/' !== $expr->path) {
94 $path .= $expr->path;
98 $this->element = $expr->element;
99 $this->condition = $expr->condition;
/plugin/asciidocjs/node_modules/acorn/src/loose/
Dexpression.js7 lp.checkLVal = function(expr) { argument
8 if (!expr) return expr
9 switch (expr.type) {
12 return expr
15 expr.expression = this.checkLVal(expr.expression)
16 return expr
25 let expr = this.parseMaybeAssign(noIn)
28 node.expressions = [expr]
32 return expr
73 let expr = this.parseExprOps(noIn)
[all …]
/plugin/fedauth/Auth/OpenID/
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/
DParse.php146 $expr = $this->_tag_expr;
155 $expr = sprintf($expr, $tag_name, $closer);
156 return sprintf("/%s/%s", $expr, $this->_re_flags);
161 $expr = sprintf($this->_open_tag_expr, $tag_name);
162 return sprintf("/%s/%s", $expr, $this->_re_flags);
167 $expr = sprintf($this->_close_tag_expr, $tag_name, $tag_name);
168 return sprintf("/%s/%s", $expr, $this->_re_flags);
/plugin/asciidocjs/node_modules/with/node_modules/acorn/src/loose/
Dexpression.js7 lp.checkLVal = function(expr) { argument
8 if (!expr) return expr
9 switch (expr.type) {
12 return expr
15 expr.expression = this.checkLVal(expr.expression)
16 return expr
25 let expr = this.parseMaybeAssign(noIn)
28 node.expressions = [expr]
32 return expr
73 let expr = this.parseExprOps(noIn)
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/
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());
95 return $this->parseConditionalExpression($expr);
98 return $expr;
108 $expr = $this->parseExpression($operator['precedence']);
111 return $this->parsePostfixExpression(new $class($expr, $token->getLine()));
114 $expr = $this->parseExpression();
[all …]
/plugin/scrape/vendor/symfony/css-selector/XPath/Extension/
DFunctionExtension.php78 $expr = 'position()';
81 $expr = 'last() - '.$expr;
86 $expr .= ' - '.$b;
89 $conditions = [sprintf('%s %s 0', $expr, $sign)];
92 $conditions[] = sprintf('(%s) mod %d = 0', $expr, $a);
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/
DNative.php23 * @param string $expr
27 protected function evalExpression($expr) argument
30 $result = eval("\$var = $expr;");

123456