If 'this' is a SlotRef or a Cast that wraps a SlotRef, returns that SlotRef. Otherwise returns null.
(boolean implicitOnly)
| 1707 | * Otherwise returns null. |
| 1708 | */ |
| 1709 | public SlotRef unwrapSlotRef(boolean implicitOnly) { |
| 1710 | Expr unwrappedExpr = unwrapExpr(implicitOnly); |
| 1711 | if (unwrappedExpr instanceof SlotRef) return (SlotRef) unwrappedExpr; |
| 1712 | return null; |
| 1713 | } |
| 1714 | |
| 1715 | /** |
| 1716 | * Returns the first child if this Expr is a CastExpr or builtin cast |
no test coverage detected