Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3// AUTOMATICALLY GENERATED.  DO NOT EDIT.
4// Use `composer build` to regenerate.
5
6namespace Wikimedia\IDLeDOM;
7
8/**
9 * XPathEvaluatorBase
10 *
11 * @see https://dom.spec.whatwg.org/#interface-xpathevaluatorbase
12 *
13 * @phan-forbid-undeclared-magic-properties
14 */
15interface XPathEvaluatorBase {
16    /**
17     * @param string $expression
18     * @param XPathNSResolver|callable|null $resolver
19     * @return XPathExpression
20     */
21    public function createExpression( string $expression, /* ?mixed */ $resolver = null );
22
23    /**
24     * @param Node $nodeResolver
25     * @return XPathNSResolver|callable
26     */
27    public function createNSResolver( /* Node */ $nodeResolver );
28
29    /**
30     * @param string $expression
31     * @param Node $contextNode
32     * @param XPathNSResolver|callable|null $resolver
33     * @param int $type
34     * @param XPathResult|null $result
35     * @return XPathResult
36     */
37    public function evaluate( string $expression, /* Node */ $contextNode, /* ?mixed */ $resolver = null, int $type = 0, /* ?XPathResult */ $result = null );
38
39}