Skip to content

Get validated parse tree with no need for unwrap on Option #45

Description

@siddharth-narayan

Apologies if this is a simple question
Is there any way to get a validated parse tree? Assuming no errors, once I call parser.rule(), there should be no need for further unwraps. As I understand, this isn't a problem in java because the objects can be assumed to be non null?

I find it very tedious to constantly unwrap or ? when there's no need for it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions