We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 266bfd2 + 243217c commit 7243f25Copy full SHA for 7243f25
src/GrammarProcessing/AbstractSyntaxTree.php
@@ -32,6 +32,10 @@ public function interpret(Interpretation $interpretation): mixed
32
if ($currentGenerator->valid()) {
33
$subnode = $currentGenerator->current();
34
35
+ if ($subnode instanceof SelectedNode) {
36
+ $subnode = $subnode->value;
37
+ }
38
+
39
if ($subnode === NULL) {
40
$currentGenerator->send(NULL);
41
} elseif ($subnode instanceof Token) {
0 commit comments