Skip to content

Conversation

@zharinov
Copy link
Member

Summary

  • Add is_missing() method to check if a NamedNode is (MISSING ...)
  • Add missing_constraint() to extract the type constraint from MISSING nodes
    • (MISSING identifier)Some("identifier")
    • (MISSING ";")Some(";")
    • (MISSING)None

Enables future grammar verification features.

Test plan

  • cargo check -p plotnik-lib passes

@zharinov zharinov enabled auto-merge (squash) December 31, 2025 12:12
@zharinov zharinov merged commit 0ec1fb0 into master Dec 31, 2025
4 checks passed
@zharinov zharinov deleted the feat/missing-node-ast branch December 31, 2025 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants