Lines Matching refs:Compiler

37 namespace Hoa\Compiler\Llk\Sampler;
39 use Hoa\Compiler; alias
101 Compiler\Llk\Parser $compiler,
152 $handle = new Compiler\Llk\Rule\Ekzit($ruleName, 0);
155 new Compiler\Llk\Rule\Entry($ruleName, 0, [$handle])
175 if ($trace instanceof Compiler\Llk\Rule\Token) {
196 if ($pop instanceof Compiler\Llk\Rule\Ekzit) {
220 protected function boundedExhaustive(Compiler\Llk\Rule $rule, $next)
224 if ($rule instanceof Compiler\Llk\Rule\Repetition) {
226 $this->_trace[] = new Compiler\Llk\Rule\Entry(
232 $this->_todo[] = new Compiler\Llk\Rule\Ekzit(
239 $this->_todo[] = new Compiler\Llk\Rule\Ekzit(
243 $this->_todo[] = new Compiler\Llk\Rule\Entry(
252 if ($trace instanceof Compiler\Llk\Rule\Token) {
263 $this->_todo[] = new Compiler\Llk\Rule\Ekzit(
268 $this->_todo[] = new Compiler\Llk\Rule\Ekzit($children, 0);
269 $this->_todo[] = new Compiler\Llk\Rule\Entry($children, 0);
273 } elseif ($rule instanceof Compiler\Llk\Rule\Choice) {
278 $this->_trace[] = new Compiler\Llk\Rule\Entry(
284 $this->_todo[] = new Compiler\Llk\Rule\Ekzit($nextRule, 0);
285 $this->_todo[] = new Compiler\Llk\Rule\Entry($nextRule, 0);
288 } elseif ($rule instanceof Compiler\Llk\Rule\Concatenation) {
289 $this->_trace[] = new Compiler\Llk\Rule\Entry(
296 $this->_todo[] = new Compiler\Llk\Rule\Ekzit($nextRule, 0);
297 $this->_todo[] = new Compiler\Llk\Rule\Entry($nextRule, 0);
301 } elseif ($rule instanceof Compiler\Llk\Rule\Token) {
305 if ($trace instanceof Compiler\Llk\Rule\Token) {
335 if ($last instanceof Compiler\Llk\Rule\Entry) {
337 $found = $rule instanceof Compiler\Llk\Rule\Choice;
338 } elseif ($last instanceof Compiler\Llk\Rule\Ekzit) {
340 $found = $rule instanceof Compiler\Llk\Rule\Repetition;
351 $this->_todo[] = new Compiler\Llk\Rule\Entry(