You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We query for node completeness/correctness recursively during parsing, for both valid and invalid inputs. For example Match::is_full_recursive(), which will happen for any ChoiceHelper even at root of the tree (like SourceUnitMember). There could be other places as well that create a Cursor during parsing do check for sub-trees recursively.
One solution is to track this information via a field on the ParserResult instead, and propagate that field upwards when unwrapping/wrapping new ParseResult instances.
The text was updated successfully, but these errors were encountered:
We query for node completeness/correctness recursively during parsing, for both valid and invalid inputs. For example
Match::is_full_recursive()
, which will happen for anyChoiceHelper
even at root of the tree (likeSourceUnitMember
). There could be other places as well that create aCursor
during parsing do check for sub-trees recursively.We should revisit this once #808 is complete.
One solution is to track this information via a field on the
ParserResult
instead, and propagate that field upwards when unwrapping/wrapping newParseResult
instances.The text was updated successfully, but these errors were encountered: