Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1136

Enforce correct pattern arguments

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 6.0.0
    • parser
    • None

    Description

      Current PatternStatement definition requires a PatternConstraint argument, which does not reflect correct structure. Furthermore we end up ignoring any pattern which is not correct, leading to potentially-missed validations.

      Refactor PatternStatement to only hold the parsed argument and require that argument to compile.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: