|
@@ 231-233 (lines=3) @@
|
| 228 |
|
|
| 229 |
|
$this->context->debug("\nNonterminal GOTO table:\n"); |
| 230 |
|
$this->context->debug(\sprintf('%8.8s', 'T\\S')); |
| 231 |
|
for ($i = 0; $i < $this->context->countNonLeafStates; $i++) { |
| 232 |
|
$this->context->debug(\sprintf('%4d', $i)); |
| 233 |
|
} |
| 234 |
|
$this->context->debug("\n"); |
| 235 |
|
foreach ($this->context->nonterminals as $symbol) { |
| 236 |
|
for ($i = 0; $i < $this->context->countNonLeafStates; $i++) { |
|
@@ 252-254 (lines=3) @@
|
| 249 |
|
|
| 250 |
|
$this->context->debug("\nNonterminal GOTO table:\n"); |
| 251 |
|
$this->context->debug(\sprintf('%8.8s default', 'T\\S')); |
| 252 |
|
for ($i = 0; $i < $this->context->countNonLeafStates; $i++) { |
| 253 |
|
$this->context->debug(\sprintf('%4d', $i)); |
| 254 |
|
} |
| 255 |
|
$this->context->debug("\n"); |
| 256 |
|
foreach ($this->context->nonterminals as $symbol) { |
| 257 |
|
$nb = $this->nb($symbol); |