Representation of load array statement, e.g., x = a[..].
| 29 | * Representation of load array statement, e.g., x = a[..]. |
| 30 | */ |
| 31 | public class LoadArray extends ArrayStmt<Var, ArrayAccess> { |
| 32 | |
| 33 | public LoadArray(Var lvalue, ArrayAccess rvalue) { |
| 34 | super(lvalue, rvalue); |
| 35 | rvalue.getBase().addLoadArray(this); |
| 36 | } |
| 37 | |
| 38 | @Override |
| 39 | public ArrayAccess getArrayAccess() { |
| 40 | return getRValue(); |
| 41 | } |
| 42 | |
| 43 | @Override |
| 44 | public <T> T accept(StmtVisitor<T> visitor) { |
| 45 | return visitor.visit(this); |
| 46 | } |
| 47 | } |
nothing calls this directly
no outgoing calls
no test coverage detected