Searched refs:Rule (Results 1 – 25 of 95) sorted by relevance
1234
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([all …]
154 if ($rule instanceof Compiler\Llk\Rule\Repetition) {168 } elseif ($rule instanceof Compiler\Llk\Rule\Choice) {195 $this->_todo = [new Compiler\Llk\Rule\Entry(209 if ($trace instanceof Compiler\Llk\Rule\Token) {239 if ($pop instanceof Compiler\Llk\Rule\Ekzit) {260 protected function coverage(Compiler\Llk\Rule $rule)264 if ($rule instanceof Compiler\Llk\Rule\Repetition) {292 $this->_trace[] = new Compiler\Llk\Rule\Entry(297 $this->_todo[] = new Compiler\Llk\Rule\Ekzit(302 if ($this->_rules[$children] instanceof Compiler\Llk\Rule\Token) {[all …]
103 public function uniform(Compiler\Llk\Rule $rule = null, $n = -1)117 if ($rule instanceof Compiler\Llk\Rule\Choice) {132 } elseif ($rule instanceof Compiler\Llk\Rule\Concatenation) {143 } elseif ($rule instanceof Compiler\Llk\Rule\Repetition) {164 } elseif ($rule instanceof Compiler\Llk\Rule\Token) {178 public function count(Compiler\Llk\Rule $rule = null, $n = -1)194 if ($rule instanceof Compiler\Llk\Rule\Choice) {198 } elseif ($rule instanceof Compiler\Llk\Rule\Concatenation) {220 } elseif ($rule instanceof Compiler\Llk\Rule\Repetition) {259 } elseif ($rule instanceof Compiler\Llk\Rule\Token) {
37 namespace Hoa\Compiler\Test\Integration\Llk\Rule;40 use Hoa\Compiler\Llk\Rule; alias41 use Hoa\Compiler\Llk\Rule\Analyzer as SUT;72 $_ruleA = new Rule\Token('ruleA', 'foo', null, -1, $kept),94 $_ruleA = new Rule\Concatenation('ruleA', ['ruleB']),96 $_ruleB = new Rule\Token('ruleB', 'foo', null, -1, true),126 $_ruleA = new Rule\Token('ruleA', 'foo', null, 42, $kept),175 $_ruleA = new Rule\Repetition('ruleA', $min, $max, 0, null),177 $_rule0 = new Rule\Token(0, 'foo', null, -1, true)196 $_ruleA = new Rule\Concatenation('ruleA', [0, 1], null),[all …]
176 $closeRule = new Rule\Ekzit($rule, 0);177 $openRule = new Rule\Entry($rule, 0, [$closeRule]);258 if ($rule instanceof Rule\Ekzit) {287 protected function _parse(Rule $zeRule, $next)289 if ($zeRule instanceof Rule\Token) {302 if ($trace instanceof Rule\Entry) {310 } elseif ($trace instanceof Rule\Ekzit &&319 if ($trace instanceof Rule\Token &&356 } elseif ($zeRule instanceof Rule\Concatenation) {361 $this->_trace[] = new Rule\Entry([all …]
27 protected $rulesType = Rule::class;45 * @param Rule[]52 * @return Rule[]
8 use Hoa\Compiler\Llk\Rule\Choice;9 use Hoa\Compiler\Llk\Rule\Concatenation;10 use Hoa\Compiler\Llk\Rule\Repetition;11 use Hoa\Compiler\Llk\Rule\Token;
37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;40 use Hoa\Compiler\Llk\Rule\Choice as SUT;59 ->isInstanceOf(LUT\Llk\Rule::class);
37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;40 use Hoa\Compiler\Llk\Rule\Concatenation as SUT;59 ->isInstanceOf(LUT\Llk\Rule::class);
37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;40 use Hoa\Compiler\Llk\Rule\Ekzit as SUT;59 ->isInstanceOf(LUT\Llk\Rule\Invocation::class);
37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;40 use Hoa\Compiler\Llk\Rule\Entry as SUT;59 ->isInstanceOf(LUT\Llk\Rule\Invocation::class);
37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;40 use Hoa\Compiler\Llk\Rule\Repetition as SUT;59 ->isInstanceOf(LUT\Llk\Rule::class);121 ->isInstanceOf(LUT\Exception\Rule::class)
34 * Test: Write `…Compiler\Exception\Rule` test suite. (Ivan Enderlin, 2016-08-14T16:42:43+02:00)39 * Test: Write `…piler\Llk\Rule\Analyzer` test suite. (Ivan Enderlin, 2016-08-14T13:18:39+02:00)43 * Rule: Fix an exception message in the analyzer. (Ivan Enderlin, 2016-08-12T18:04:39+02:00)44 * Rule: Update API documentation. (Ivan Enderlin, 2016-08-12T18:04:30+02:00)47 * Test: Write `…ler\Llk\Rule\Invocation` test suite. (Ivan Enderlin, 2016-08-12T17:06:15+02:00)49 * Rule: Restore infinite max in a repetition. (Ivan Enderlin, 2016-08-12T08:05:19+02:00)51 * Rule: Cast and bound min and max in a repetition. (Ivan Enderlin, 2016-08-12T07:54:43+02:00)52 * Test: Write `…ler\Llk\Rule\Repetition` test suite. (Ivan Enderlin, 2016-08-12T07:51:48+02:00)53 * Test: Write `…\Compiler\Llk\Rule\Rule` test suite. (Ivan Enderlin, 2016-08-09T08:54:20+02:00)54 * Test: Write `…Compiler\Llk\Rule\Token` test suite. (Ivan Enderlin, 2016-08-09T08:19:28+02:00)[all …]
31 protected $rulesType = Rule::class;63 * @param Rule[]70 * @return Rule[]
20 class Rule extends \Google\Collection class61 class_alias(Rule::class, 'Google_Service_DoubleClickBidManager_Rule');
37 namespace Hoa\Compiler\Llk\Rule;49 class Repetition extends Rule84 throw new Compiler\Exception\Rule(
37 namespace Hoa\Compiler\Llk\Rule;47 class Choice extends Rule
37 namespace Hoa\Compiler\Llk\Rule;47 class Concatenation extends Rule
31 protected $rulesType = Rule::class;81 * @param Rule[]88 * @return Rule[]
43 protected $rulesType = Rule::class;121 * @param Rule[]128 * @return Rule[]
20 class Rule extends \Google\Collection class59 class_alias(Rule::class, 'Google_Service_NetworkSecurity_Rule');
65 class Rule { class101 src = Rule.getSource(name, pattern, source);166 return Rule.match(this.pattern, name);311 exports.Rule = Rule;
40 use Hoa\Compiler\Exception\Rule as SUT;51 class Rule extends Test\Unit\Suite class
META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...