visitArrayExpr method
Implementation
@override
Object visitArrayExpr(Expr.Array expr) {
List<Object?> elements = [];
for (Expr.Expr element in expr.elements) {
var result = evaluate(element);
if (result != null) {
elements.add(result);
}
}
return elements;
}