Browse Source

Quality: Run devtools:cs.

tags/3.16.01.11
Ivan Enderlin 4 years ago
parent
commit
109b8c8dc4
31 changed files with 86 additions and 86 deletions
  1. +2
    -2
      Bin/Pp.php
  2. +2
    -2
      Exception/Exception.php
  3. +2
    -2
      Exception/FinalStateHasNotBeenReached.php
  4. +2
    -2
      Exception/IllegalToken.php
  5. +2
    -2
      Exception/Lexer.php
  6. +2
    -2
      Exception/Rule.php
  7. +2
    -2
      Exception/UnexpectedToken.php
  8. +2
    -2
      Exception/UnrecognizedToken.php
  9. +16
    -16
      Ll1.php
  10. +3
    -3
      Llk/Lexer.php
  11. +2
    -2
      Llk/Llk.php
  12. +3
    -3
      Llk/Parser.php
  13. +4
    -4
      Llk/Rule/Analyzer.php
  14. +2
    -2
      Llk/Rule/Choice.php
  15. +2
    -2
      Llk/Rule/Concatenation.php
  16. +2
    -2
      Llk/Rule/Ekzit.php
  17. +2
    -2
      Llk/Rule/Entry.php
  18. +3
    -3
      Llk/Rule/Invocation.php
  19. +2
    -2
      Llk/Rule/Repetition.php
  20. +2
    -2
      Llk/Rule/Rule.php
  21. +2
    -2
      Llk/Rule/Token.php
  22. +2
    -2
      Llk/Sampler/BoundedExhaustive.php
  23. +3
    -3
      Llk/Sampler/Coverage.php
  24. +2
    -2
      Llk/Sampler/Exception.php
  25. +2
    -2
      Llk/Sampler/Sampler.php
  26. +4
    -4
      Llk/Sampler/Uniform.php
  27. +4
    -4
      Llk/TreeNode.php
  28. +2
    -2
      Test/Unit/Documentation.php
  29. +2
    -2
      Test/Unit/Llk/Llk.php
  30. +2
    -2
      Test/Unit/Llk/Soundness.php
  31. +2
    -2
      Visitor/Dump.php

+ 2
- 2
Bin/Pp.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -46,7 +46,7 @@ use Hoa\File;
*
* Play with PP.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Pp extends Console\Dispatcher\Kit


+ 2
- 2
Exception/Exception.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\Exception as HoaException;
*
* Extending the \Hoa\Exception\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends HoaException


+ 2
- 2
Exception/FinalStateHasNotBeenReached.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Exception;
*
* Extending the \Hoa\Compiler\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class FinalStateHasNotBeenReached extends Exception


+ 2
- 2
Exception/IllegalToken.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Exception;
*
* Extending the \Hoa\Compiler\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class IllegalToken extends Exception


+ 2
- 2
Exception/Lexer.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Exception;
*
* Extending the \Hoa\Compiler\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Lexer extends Exception


+ 2
- 2
Exception/Rule.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Exception;
*
* Extending the \Hoa\Compiler\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Rule extends Exception


+ 2
- 2
Exception/UnexpectedToken.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Exception;
*
* Extending the \Hoa\Compiler\Exception\UnrecognizedToken class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class UnexpectedToken extends UnrecognizedToken


+ 2
- 2
Exception/UnrecognizedToken.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Exception;
*
* Extending the \Hoa\Compiler\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class UnrecognizedToken extends Exception


+ 16
- 16
Ll1.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -47,7 +47,7 @@ namespace Hoa\Compiler;
*
* Provide an abstract LL(1) compiler, based on sub-automata and stacks.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Ll1
@@ -333,13 +333,13 @@ abstract class Ll1
* @return void
*/
public function __construct(
Array $skip,
Array $tokens,
Array $states,
Array $terminal,
Array $transitions,
Array $actions,
Array $names = []
array $skip,
array $tokens,
array $states,
array $terminal,
array $transitions,
array $actions,
array $names = []
) {
$this->setSkip($skip);
$this->setTokens($tokens);
@@ -708,7 +708,7 @@ abstract class Ll1
* @param array $skip Skip.
* @return array
*/
public function setSkip(Array $skip)
public function setSkip(array $skip)
{
$old = $this->_skip;
$this->_skip = $skip;
@@ -723,7 +723,7 @@ abstract class Ll1
* @param array $tokens Tokens.
* @return array
*/
public function setTokens(Array $tokens)
public function setTokens(array $tokens)
{
$old = $this->_tokens;
$this->_tokens = $tokens;
@@ -737,7 +737,7 @@ abstract class Ll1
* @param array $states States.
* @return array
*/
public function setStates(Array $states)
public function setStates(array $states)
{
$old = $this->_states;
$this->_states = $states;
@@ -751,7 +751,7 @@ abstract class Ll1
* @param array $terminal Terminal states.
* @return array
*/
public function setTerminal(Array $terminal)
public function setTerminal(array $terminal)
{
$old = $this->_terminal;
$this->_terminal = $terminal;
@@ -765,7 +765,7 @@ abstract class Ll1
* @param array $transitions Transitions table.
* @return array
*/
public function setTransitions(Array $transitions)
public function setTransitions(array $transitions)
{
$old = $this->_transitions;
$this->_transitions = $transitions;
@@ -779,7 +779,7 @@ abstract class Ll1
* @param array $actions Actions table.
* @return array
*/
public function setActions(Array $actions)
public function setActions(array $actions)
{
foreach ($actions as $e => $automata) {
foreach ($automata as $i => $state) {
@@ -803,7 +803,7 @@ abstract class Ll1
* @param array $names Names of automata.
* @return array
*/
public function setNames(Array $names)
public function setNames(array $names)
{
$old = $this->_names;
$this->_names = $names;


+ 3
- 3
Llk/Lexer.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Compiler;
*
* PP lexer.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Lexer
@@ -87,7 +87,7 @@ class Lexer
* @return array
* @throws \Hoa\Compiler\Exception\UnrecognizedToken
*/
public function lexMe($text, Array $tokens)
public function lexMe($text, array $tokens)
{
$this->_text = $text;
$this->_tokens = $tokens;


+ 2
- 2
Llk/Llk.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -50,7 +50,7 @@ use Hoa\Stream;
* skipped token (::token::), kept token (<token>), token unification (token[i])
* and rule unification (rule()[j]).
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Llk


+ 3
- 3
Llk/Parser.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Compiler;
*
* PP parser.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Parser
@@ -128,7 +128,7 @@ class Parser
* @param array $rules Rules.
* @return void
*/
public function __construct(Array $tokens = [], Array $rules = [])
public function __construct(array $tokens = [], array $rules = [])
{
$this->_tokens = $tokens;
$this->_rules = $rules;


+ 4
- 4
Llk/Rule/Analyzer.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Compiler;
*
* Analyze rules and transform them into atomic rules operations.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Analyzer
@@ -91,7 +91,7 @@ class Analyzer
* @param array $tokens Tokens.
* @return void
*/
public function __construct(Array $tokens)
public function __construct(array $tokens)
{
$this->_tokens = $tokens;

@@ -115,7 +115,7 @@ class Analyzer
* @return void
* @throws \Hoa\Compiler\Exception
*/
public function analyzeRules(Array $rules)
public function analyzeRules(array $rules)
{
if (empty($rules)) {
throw new Compiler\Exception\Rule('No rules specified!', 0);


+ 2
- 2
Llk/Rule/Choice.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Llk\Rule;
*
* The choice rule.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Choice extends Rule


+ 2
- 2
Llk/Rule/Concatenation.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Llk\Rule;
*
* The concatenation rule.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Concatenation extends Rule


+ 2
- 2
Llk/Rule/Ekzit.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -40,7 +40,7 @@ namespace Hoa\Compiler\Llk\Rule;
*
* The ekzit (exit) rule.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Ekzit extends Invocation


+ 2
- 2
Llk/Rule/Entry.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Llk\Rule;
*
* The entry rule.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Entry extends Invocation


+ 3
- 3
Llk/Rule/Invocation.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Llk\Rule;
*
* Parent of entry and ekzit rules.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Invocation
@@ -96,7 +96,7 @@ abstract class Invocation
public function __construct(
$rule,
$data,
Array $todo = null,
array $todo = null,
$depth = -1
) {
$this->_rule = $rule;


+ 2
- 2
Llk/Rule/Repetition.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -41,7 +41,7 @@ namespace Hoa\Compiler\Llk\Rule;
*
* The repetition rule.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Repetition extends Rule


+ 2
- 2
Llk/Rule/Rule.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Consistency;
*
* Rule parent.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Rule


+ 2
- 2
Llk/Rule/Token.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -44,7 +44,7 @@ use Hoa\File;
*
* The token rule.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Token extends Rule


+ 2
- 2
Llk/Sampler/BoundedExhaustive.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -48,7 +48,7 @@ use Hoa\Visitor;
* This algorithm is based on multiset (set with repetition).
* Repetition unfolding: upper bound of + and * is set to n.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class BoundedExhaustive


+ 3
- 3
Llk/Sampler/Coverage.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -56,7 +56,7 @@ use Hoa\Iterator;
* • + is unfolded 1 or 2 times;
* • {x,y} is unfolded x, x + 1, y - 1 and y times.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Coverage
@@ -463,7 +463,7 @@ class Coverage
* @param array $rules Rules to consider.
* @return array
*/
protected function extract(Array $rules)
protected function extract(array $rules)
{
$out = [];



+ 2
- 2
Llk/Sampler/Exception.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Compiler;
*
* Extending the \Hoa\Compiler\Exception class.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends Compiler\Exception


+ 2
- 2
Llk/Sampler/Sampler.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -45,7 +45,7 @@ use Hoa\Visitor;
*
* Sampler parent.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Sampler


+ 4
- 4
Llk/Sampler/Uniform.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -49,7 +49,7 @@ use Hoa\Visitor;
* which guide the exploration.
* Repetition unfolding: upper bound of + and * is set to n.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Uniform extends Sampler
@@ -133,8 +133,8 @@ class Uniform extends Sampler
} elseif ($rule instanceof Compiler\Llk\Rule\Concatenation) {
$children = $rule->getContent();
$out = null;
$Γ = $data['Γ'];
$γ = $Γ[$this->_sampler->getInteger(0, count($Γ) - 1)];
= $data['Γ'];
= $Γ[$this->_sampler->getInteger(0, count($Γ) - 1)];

foreach ($children as $i => $child) {
$out .= $this->uniform($this->_rules[$child], $γ[$i]);


+ 4
- 4
Llk/TreeNode.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Visitor;
*
* Provide a generic node for the AST produced by LL(k) parser.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class TreeNode implements Visitor\Element
@@ -97,7 +97,7 @@ class TreeNode implements Visitor\Element
public function __construct(
$id,
$value = null,
Array $children = [],
array $children = [],
TreeNode $parent = null
) {
$this->setId($id);
@@ -221,7 +221,7 @@ class TreeNode implements Visitor\Element
* @param array $children Children.
* @return array
*/
public function setChildren(Array $children)
public function setChildren(array $children)
{
$old = $this->_children;
$this->_children = $children;


+ 2
- 2
Test/Unit/Documentation.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -45,7 +45,7 @@ use Hoa\Test;
*
* Test suite of the examples in the documentation.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Documentation extends Test\Unit\Suite


+ 2
- 2
Test/Unit/Llk/Llk.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -45,7 +45,7 @@ use Hoa\Test;
*
* Test suite of the examples in the documentation.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Llk extends Test\Unit\Suite


+ 2
- 2
Test/Unit/Llk/Soundness.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Json;
*
* Check soundness of the LL(k) compiler.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Soundness extends Json\Test\Unit\Soundness


+ 2
- 2
Visitor/Dump.php View File

@@ -8,7 +8,7 @@
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. All rights reserved.
* Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -43,7 +43,7 @@ use Hoa\Visitor;
*
* Dump AST produced by LL(k) compiler.
*
* @copyright Copyright © 2007-2015 Hoa community
* @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Dump implements Visitor\Visit


Loading…
Cancel
Save