private final DiceNotationExpression unwrap ( final DiceNotationExpression expression ) { final DiceNotationExpression result ; if ( expression instanceof ExpressionWrapper ) { result = ( ( ExpressionWrapper ) expression ) . getWrappedExpression ( ) ; } else { result = expression ; } return result ; }
Removes the expression wrappers used to temporally prune the nodes .