-
-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathParseable.php
More file actions
22 lines (19 loc) · 658 Bytes
/
Parseable.php
File metadata and controls
22 lines (19 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
declare(strict_types=1);
namespace PhpMyAdmin\SqlParser;
/**
* Defines a class that offers the parse() static method.
*/
interface Parseable
{
/**
* Parses the tokens contained in the given list in the context of the given parser.
*
* @param Parser $parser the parser that serves as context
* @param TokensList $list the list of tokens that are being parsed
* @param array<string, mixed> $options parameters for parsing
*
* @return Component|Component[]|null
*/
public static function parse(Parser $parser, TokensList $list, array $options = []): Component|array|null;
}