Hoa central
Repetition.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Compiler\Llk\Rule;
38 
47 class Repetition extends Rule
48 {
54  protected $_min = 0;
55 
61  protected $_max = 0;
62 
63 
64 
75  public function __construct($name, $min, $max, $content, $nodeId)
76  {
77  parent::__construct($name, $content, $nodeId);
78  $this->_min = $min;
79  $this->_max = $max;
80 
81  return;
82  }
83 
89  public function getMin()
90  {
91  return $this->_min;
92  }
93 
99  public function getMax()
100  {
101  return $this->_max;
102  }
103 }
__construct($name, $min, $max, $content, $nodeId)
Definition: Repetition.php:75
$content
Definition: Hoa.php:119