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

Refactor IfFeaturePredicateVisitor

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 9.0.0
    • None
    • parser

      IfFeaturePredicateVisitor is the only class requiring ANTLR's visitors to be generated. Refactor it to work purely on IfFeatureExpressionParser so that we can ditch visitors. This needs to work similarly as our other parsers work: by closely examining the shape of the parse tree, making assertions on what is valid and what not and having a nice method for each type of node encountered.

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

              Created:
              Updated:
              Resolved: