This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Description
Would be great to have support for multiple start-symbols.
I guess it would not be difficult to add since the start rule is just found in the rules
|
$rule = $this->getRootRule(); |
|
public function getRootRule() |
|
{ |
|
foreach ($this->_rules as $rule => $_) { |
|
if (!is_int($rule)) { |
|
break; |
|
} |
|
} |
|
|
|
return $rule; |
|
} |