Home
last modified time | relevance | path

Searched refs:Llk (Results 1 – 25 of 46) sorted by relevance

12

/plugin/findologicxmlexport/vendor/hoa/compiler/Llk/Sampler/
DBoundedExhaustive.php37 namespace Hoa\Compiler\Llk\Sampler;
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(
[all …]
DCoverage.php37 namespace Hoa\Compiler\Llk\Sampler;
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(
[all …]
DUniform.php37 namespace Hoa\Compiler\Llk\Sampler;
80 Compiler\Llk\Parser $compiler,
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) {
[all …]
DSampler.php37 namespace Hoa\Compiler\Llk\Sampler;
110 Compiler\Llk\Parser $compiler,
140 $token = new Compiler\Llk\Rule\Token(
164 protected function completeToken(Compiler\Llk\Rule\Token $token)
218 protected function generateToken(Compiler\Llk\Rule\Token $token)
/plugin/findologicxmlexport/vendor/hoa/math/Test/Unit/Visitor/
DArithmetic.php61 $sampler = new Compiler\Llk\Sampler\BoundedExhaustive(
62 Compiler\Llk\Llk::load(
70 $compiler = Compiler\Llk\Llk::load(
107 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
124 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
141 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
158 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
173 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
190 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
207 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
/plugin/findologicxmlexport/vendor/hoa/math/Test/Unit/
DIssue.php58 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
72 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
86 … $compiler = Compiler\Llk\Llk::load(new File\Read('hoa://Library/Math/Arithmetic.pp')),
92 ->isInstanceOf(Compiler\Llk\TreeNode::class)
/plugin/findologicxmlexport/vendor/hoa/compiler/
DCHANGELOG.md26 * Test: Write `Hoa\Compiler\Llk\Llk` test suite. (Ivan Enderlin, 2016-08-14T17:40:38+02:00)
27 * Llk: Update exception messages. (Ivan Enderlin, 2016-08-14T18:00:02+02:00)
28 * Llk: PP parser only accepts horizontal spaces… (Ivan Enderlin, 2016-08-14T17:42:07+02:00)
29 * Llk: Correctly order and merge skip tokens. (Ivan Enderlin, 2016-08-14T17:24:52+02:00)
30 * Llk: The whole class must be abstract. (Ivan Enderlin, 2016-08-14T17:24:24+02:00)
31 * Test: Write `…r\Llk\Sampler\Exception` test suite. (Ivan Enderlin, 2016-08-14T16:45:12+02:00)
39 * Test: Write `…piler\Llk\Rule\Analyzer` test suite. (Ivan Enderlin, 2016-08-14T13:18:39+02:00)
47 * Test: Write `…ler\Llk\Rule\Invocation` test suite. (Ivan Enderlin, 2016-08-12T17:06:15+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)
[all …]
DREADME.md161 The `Hoa\Compiler\Llk\Llk` class provide helpers to manipulate (load or save) a
168 $compiler = Hoa\Compiler\Llk\Llk::load(new Hoa\File\Read('Json.pp'));
223 Hoa\Compiler\Llk\Parser::parse(): (0) Unexpected token "true" (true) at line 1
227 in hoa://Library/Compiler/Llk/Parser.php at line 1
237 $sampler = new Hoa\Compiler\Llk\Sampler\Coverage(
239 Hoa\Compiler\Llk\Llk::load(new Hoa\File\Read('Json.pp')),
/plugin/findologicxmlexport/vendor/jms/serializer/src/Type/
Dregenerate-parser.php6 use Hoa\Compiler\Llk\Llk; alias
11 $compiler = Llk::load(new Read(__DIR__ . '/grammar.pp'));
28 . 'final ' . Llk::save($compiler, 'InnerParser')
DInnerParser.php7 use Hoa\Compiler\Llk\Parser;
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;
/plugin/findologicxmlexport/vendor/hoa/compiler/Bin/
DPp.php129 $compiler = Compiler\Llk::load(new File\Read($grammar));
170 protected function printTrace(Compiler\Llk\Parser $compiler)
175 if ($element instanceof Compiler\Llk\Rule\Entry) {
186 } elseif ($element instanceof Compiler\Llk\Rule\Token) {
208 protected function printTokenSequence(Compiler\Llk\Parser $compiler, $data)
210 $lexer = new Compiler\Llk\Lexer();
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Unit/Llk/
DLlk.php37 namespace Hoa\Compiler\Test\Unit\Llk;
40 use Hoa\Compiler\Llk\Llk as SUT;
52 class Llk extends Test\Unit\Suite class
80 $_ruleA = new LUT\Llk\Rule\Token('ruleA', 'foobar', null, -1, true),
86 ->isInstanceOf(LUT\Llk\Parser::class)
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Unit/Llk/Rule/
DChoice.php37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;
40 use Hoa\Compiler\Llk\Rule\Choice as SUT;
59 ->isInstanceOf(LUT\Llk\Rule::class);
DConcatenation.php37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;
40 use Hoa\Compiler\Llk\Rule\Concatenation as SUT;
59 ->isInstanceOf(LUT\Llk\Rule::class);
DEkzit.php37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;
40 use Hoa\Compiler\Llk\Rule\Ekzit as SUT;
59 ->isInstanceOf(LUT\Llk\Rule\Invocation::class);
DEntry.php37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;
40 use Hoa\Compiler\Llk\Rule\Entry as SUT;
59 ->isInstanceOf(LUT\Llk\Rule\Invocation::class);
DRepetition.php37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;
40 use Hoa\Compiler\Llk\Rule\Repetition as SUT;
59 ->isInstanceOf(LUT\Llk\Rule::class);
DToken.php37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;
40 use Hoa\Compiler\Llk\Rule\Token as SUT;
59 ->isInstanceOf(LUT\Llk\Rule::class);
210 ->isInstanceOf(LUT\Llk\TreeNode::class)
DInvocation.php37 namespace Hoa\Compiler\Test\Unit\Llk\Rule;
40 use Mock\Hoa\Compiler\Llk\Rule\Invocation as SUT;
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Integration/Llk/
DDocumentation.php37 namespace Hoa\Compiler\Test\Integration\Llk;
67 $compiler = LUT\Llk::load($grammar)
104 $compiler = LUT\Llk::load($grammar)
140 $compiler = LUT\Llk::load($grammar)
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Unit/Llk/Sampler/
DException.php37 namespace Hoa\Compiler\Test\Unit\Llk\Sampler;
40 use Hoa\Compiler\Llk\Sampler\Exception as SUT;
/plugin/findologicxmlexport/vendor/hoa/compiler/Llk/Rule/
DToken.php37 namespace Hoa\Compiler\Llk\Rule;
204 static::$_regexCompiler = Compiler\Llk::load($stream);
DChoice.php37 namespace Hoa\Compiler\Llk\Rule;
DEkzit.php36 namespace Hoa\Compiler\Llk\Rule;
DEntry.php37 namespace Hoa\Compiler\Llk\Rule;

12