krixon/rules

View on GitHub
src/Parser/Parser.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Krixon\Rules\Parser;

use Krixon\Rules\Ast;
use Krixon\Rules\Exception\SyntaxError;

interface Parser
{
    /**
     * @throws SyntaxError
     */
    public function parse(string $expression) : Ast\Node;
}