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

Defer substatement search to effective instace

XMLWordPrintable

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

      BoundStmtCtx.findSubstatementArgument() and hasSubstatement() are search methods very similar to what EffectiveStatement provides, in fact they are a strict subset of that.

      Take advantage of this to perform a faster search without the need to look at isSupportedToBuildEffective().

       

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

              Created:
              Updated:
              Resolved: