ExprTree in new ClassAds has an equivalent method called Evaluate() when there is no target ad. ExprTree::SetParentScope() must be called first. When there is a target ad, the MatchClassAd class can be used. A compatibility function can be used to encapsulate both of these details.

Developer time: 4 hours