private List < GroovyExpression > expandOrs ( GroovyExpression expr , OptimizationContext context ) { if ( GremlinQueryOptimizer . isOrExpression ( expr ) ) { return expandOrFunction ( expr , context ) ; } return processOtherExpression ( expr , context ) ; }
Recursively traverses the given expression expanding or expressions wherever they are found .