Home
last modified time | relevance | path

Searched refs:node (Results 526 – 550 of 709) sorted by last modified time

1...<<212223242526272829

/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/
H A DKeywordPatch.php26 * @param ClassNode $node
30 public function supports(ClassNode $node) argument
38 * @param ClassNode $node
40 public function apply(ClassNode $node) argument
42 $methodNames = array_keys($node->getMethods());
45 $node->removeMethod($methodName);
H A DThrowablePatch.php13 * @param ClassNode $node
16 public function supports(ClassNode $node) argument
18 … return $this->implementsAThrowableInterface($node) && $this->doesNotExtendAThrowableClass($node);
22 * @param ClassNode $node
37 * @param ClassNode $node
48 * @param ClassNode $node
67 $node
77 $node->removeMethod('getCode');
78 $node->removeMethod('getFile');
79 $node->removeMethod('getLine');
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Node/
H A DIterator.php29 * @param Directory $node
31 public function __construct(Directory $node) argument
33 $this->nodes = $node->getChildNodes();
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter/
H A DXML.php180 $node = $this->document->createElement('test');
182 $node->setAttribute('className', get_class($test));
183 $node->setAttribute('methodName', $test->getName());
186 $node->setAttribute('status', $test->getStatus());
187 $node->setAttribute('time', $time);
188 $node->setAttribute('size', $test->getSize());
189 $node->setAttribute('groups', implode(',', $groups));
196 $node->setAttribute('when', $inlineAnnotations['when']['value']);
198 $node->setAttribute('then', $inlineAnnotations['then']['value']);
214 $node->setAttribute('exceptionLine', $step['line']);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DXML.php140 * @param DOMNode $node
142 public static function removeCharacterDataNodes(DOMNode $node) argument
144 if ($node->hasChildNodes()) {
145 for ($i = $node->childNodes->length - 1; $i >= 0; $i--) {
146 if (($child = $node->childNodes->item($i)) instanceof DOMCharacterData) {
147 $node->removeChild($child);
/plugin/findologicxmlexport/vendor/sebastian/comparator/tests/
H A DDOMNodeComparatorTest.php32 $node = new DOMNode;
36 array($node, $node),
37 array($document, $node),
38 array($node, $document)
/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/Fixtures/
H A DYtsSpecificationExamples.yml222 # Following node labeled SS
1017 The alias node below is a
1022 'override' => "The alias node below is a repeated use of this value.\n",
1023 'alias' => "The alias node below is a repeated use of this value.\n" ]
1651 # NOTE: the following node should NOT be serialized this way.
1652 encoded node :
1656 # The proper way to serialize the above node is as follows:
1657 node : !!type &12 value
1661 'encoded node' => YAML::PrivateType.new( 'type', 'value' ),
1662 'node' => YAML::PrivateType.new( 'type', 'value' ) }
/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/Node/
H A DTransTest.php30 $node = new Twig_Extensions_Node_Trans($body, $plural, $count, null, 0);
32 $this->assertEquals($body, $node->getNode('body'));
33 $this->assertEquals($count, $node->getNode('count'));
34 $this->assertEquals($plural, $node->getNode('plural'));
42 $node = new Twig_Extensions_Node_Trans($body, null, null, null, 0);
46 $node = new Twig_Extensions_Node_Trans($body, null, null, null, 0);
47 $tests[] = array($node, 'echo gettext("Hello");');
52 $node = new Twig_Extensions_Node_Trans($body, null, null, null, 0);
53 $tests[] = array($node, 'echo gettext("Hello");');
60 $node = new Twig_Extensions_Node_Trans($body, null, null, null, 0);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/
H A DCHANGELOG293 * fixed the profiler duration for the root node
322 * added Twig_BaseNodeVisitor to ease the compatibility of node visitors
350 * added a new way to customize the main Module node (via empty nodes)
369 * fixed 2-words test names when a custom node class is not used
572 * enforced interface when adding tests, filters, functions, and node visitors from extensions
696 * moved all node manipulations outside the compile() Node method
841 * changed the order of execution for node visitors
853 * added priority to node visitors
951 * fixed node visiting for macros (macros are now visited by visitors as any other node)
986 * refactored node transformers to node visitors
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Dadvanced.rst12 itself with node visitors.
356 ->subcompile($this->getNode('node'))
363 The above example shows how you can create tests that use a node class. The
364 node class has access to one sub-node called 'node'. This sub-node contains the
371 The ``node`` sub-node will contain an expression of ``my_value``. Node-based
372 tests also have access to the ``arguments`` node. This node will contain the
545 * ``subcompile()``: Compiles a node.
558 the current node as a comment.
573 define tags, filters, tests, operators, global variables, functions, and node
611 * Returns the node visitor instances to add to the existing list.
[all …]
H A Dapi.rst347 * *Twig_Extension_Optimizer*: Optimizes the node tree before compilation.
549 The ``optimizer`` extension optimizes the node tree before compilation::
H A Ddeprecated.rst178 directly to make your node visitors compatible with both Twig 1.x and 2.x.
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DLexerTest.php173 $node = $stream->next();
174 $this->assertEquals('922337203685477580700', $node->getValue());
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/
H A DDoTest.php21 $node = new DoNode($expr, 1);
23 $this->assertEquals($expr, $node->getNode('expr'));
31 $node = new DoNode($expr, 1);
32 $tests[] = [$node, "// line 1\n\"foo\";"];
H A DIfTest.php28 $node = new IfNode($t, $else, 1);
30 $this->assertEquals($t, $node->getNode('tests'));
31 $this->assertFalse($node->hasNode('else'));
34 $node = new IfNode($t, $else, 1);
35 $this->assertEquals($else, $node->getNode('else'));
47 $node = new IfNode($t, $else, 1);
49 $tests[] = [$node, <<<EOF
64 $node = new IfNode($t, $else, 1);
66 $tests[] = [$node, <<<EOF
81 $node = new IfNode($t, $else, 1);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DArrayTest.php21 $node = new ArrayExpression($elements, 1);
23 $this->assertEquals($foo, $node->getNode(1));
35 $node = new ArrayExpression($elements, 1);
38 [$node, '["foo" => "bar", "bar" => "foo"]'],
H A DCallTest.php18 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
28 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
29 $node->getArguments('date', ['timestamp' => 123456, 'Y-m-d']);
38 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
39 $node->getArguments('date', ['Y-m-d', 'format' => 'U']);
48 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
49 $node->getArguments('date', ['Y-m-d', 'timestamp' => null, 'unknown' => '']);
58 $node = new Twig_Tests_Node_Expression_Call([], ['type' => 'function', 'name' => 'date']);
92 $node->getArguments([$this, 'customFunctionWithArbitraryArguments'], []);
114 $node->getArguments('custom_Twig_Tests_Node_Expression_CallTest_function', []);
[all …]
H A DConditionalTest.php23 $node = new ConditionalExpression($expr1, $expr2, $expr3, 1);
25 $this->assertEquals($expr1, $node->getNode('expr1'));
26 $this->assertEquals($expr2, $node->getNode('expr2'));
27 $this->assertEquals($expr3, $node->getNode('expr3'));
37 $node = new ConditionalExpression($expr1, $expr2, $expr3, 1);
38 $tests[] = [$node, '((1) ? (2) : (3))'];
H A DFunctionTest.php25 $node = new FunctionExpression($name, $args, 1);
27 $this->assertEquals($name, $node->getAttribute('name'));
42 $node = $this->createFunction('foo');
43 $tests[] = [$node, 'foo()', $environment];
48 $node = $this->createFunction('bar');
49 $tests[] = [$node, 'bar($this->env)', $environment];
54 $node = $this->createFunction('foofoo');
60 $node = $this->createFunction('foobar');
67 $node = $this->createFunction('date', [
74 $node = $this->createFunction('barbar');
[all …]
H A DNameTest.php20 $node = new NameExpression('foo', 1);
22 $this->assertEquals('foo', $node->getAttribute('name'));
27 $node = new NameExpression('foo', 1);
42 [$node, "// line 1\n".$output, $env],
43 [$node, $this->getVariableGetter('foo', 1), $env1],
H A DNullCoalesceTest.php25 $node = new NullCoalesceExpression($left, $right, 1);
27 $tests[] = [$node, "((// line 1\n\$context[\"foo\"]) ?? (2))"];
29 …$tests[] = [$node, "(((// line 1\n(isset(\$context[\"foo\"]) || array_key_exists(\"foo\", \$contex…
31 …$tests[] = [$node, "(((// line 1\n(isset(\$context[\"foo\"]) || array_key_exists(\"foo\", \$contex…
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/Binary/
H A DAddTest.php22 $node = new AddBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new AddBinary($left, $right, 1);
35 [$node, '(1 + 2)'],
H A DAndTest.php22 $node = new AndBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new AndBinary($left, $right, 1);
35 [$node, '(1 && 2)'],
H A DConcatTest.php22 $node = new ConcatBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new ConcatBinary($left, $right, 1);
35 [$node, '(1 . 2)'],
H A DSubTest.php22 $node = new SubBinary($left, $right, 1);
24 $this->assertEquals($left, $node->getNode('left'));
25 $this->assertEquals($right, $node->getNode('right'));
32 $node = new SubBinary($left, $right, 1);
35 [$node, '(1 - 2)'],

1...<<212223242526272829